A Statistic is a type of metric to be used for characterization. Specific types of statistics are defined in derived classes

Methods


Method new()

Usage

Statistic$new(statType, personLine, aggType)

Arguments

statType

the type of statistic

personLine

the means of converting occurrences to a single event per patient

aggType

the way the metric is reported either categorical or continuous


Method getStatisticType()

retrieve the statistic type

Usage

Statistic$getStatisticType()


Method getAggregationType()

retrieve the aggregation type

Usage

Statistic$getAggregationType()


Method getPersonLineTransformation()

retrieve the person line transformation

Usage

Statistic$getPersonLineTransformation()


Method getBreaksIfAny()

retrieve the breaks object from the statistic object

Usage

Statistic$getBreaksIfAny()


Method getWeightsIfAny()

retrieve the weights object from the statistic object

Usage

Statistic$getWeightsIfAny()


Method clone()

The objects of this class are cloneable with this method.

Usage

Statistic$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.