ordinal: Create an ordinal measure

ordinalR Documentation

Create an ordinal measure

Description

Method for constructing an ordinal measure through a Unit.

Usage

ordinal(unit, name, order, numberOfInstances)

Arguments

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)

Value

Has Relationship representing Unit having the Nominal Measure.


emjun/tisaner documentation built on Nov. 9, 2024, 6:32 p.m.