<CategoricalCharacter id="c4">
<Representation>
<Label> Leaf shape</Label>
</Representation>
<States>
<StateDefinition id="s3">
<Representation>
<Label>Round</Label>
</Representation>
</StateDefinition>
<StateDefinition id="s4">
<Representation>
<Label>Ovate</Label>
</Representation>
</StateDefinition>
<StateDefinition id="s5">
<Representation>
<Label>Sub-ovate</Label>
</Representation>
</StateDefinition>
</States>
<Mappings>
<Mapping>
<From ref="s5"/>
<To ref="s4"/>
</Mapping>
</Mappings>
</CategoricalCharacter>
|
Specific ranges of a quantitative character data can be mapped onto states of categorical characters, for example, to simplify the data for interactive key purposes. For example the data to populate the character "Leaf Area (Webb and Tracy Units)" with the four states "nanophyll", "microphyll", "mesophyll" and "macrophyll" would be automatically generated from the data in the quantitative character "Leaf Area".
<QuantitativeCharacter id="c2">
<Representation>
<Label>Leaf length</Label>
</Representation>
<Assumptions>
<MeasurementScale>Ratio</MeasurementScale>
</Assumptions>
<Mappings>
<Mapping>
<From lower="0" upper="3"/>
<ToState ref="s1"/>
</Mapping>
<Mapping>
<From lower="3" upper="10"/>
<ToState ref="s2"/>
</Mapping>
<Mapping>
<From lower="4" upper="10000000"/>
<ToState ref="s3"/>
</Mapping>
</Mappings>
<MeasurementUnit>
<Label role="Abbrev">m</Label>
</MeasurementUnit>
<Default>
<MeasurementUnitPrefix>milli</MeasurementUnitPrefix>
</Default>
</QuantitativeCharacter>
|