ordinal | R Documentation |
Method for constructing an ordinal measure through a Unit.
ordinal(unit, name, order, numberOfInstances)
unit |
Unit object. Unit that has/contributes the ordinal measure. |
name |
Character. Name of measure, corresponds to column name in data. |
order |
List. Ordered list of categories. |
numberOfInstances |
Integer or AbstractVariable or AtMost or Per. Number of instances of the measure the @param unit has. Default is 1. |
cardinality. |
Integer. Optional. Only required if no data is assigned. If provided, value to make sure @param cardinality == length(@param order) |
Has Relationship representing Unit having the Nominal Measure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.