A Demographic Statistic that calculates age from the person table

Super class

ClinicalCharacteristics::Statistic -> DemographicAge

Methods

Inherited methods


Method new()

Usage

DemographicAge$new(statType, aggType, demoCategory, breaks = NULL)

Arguments

statType

the type of statistic

aggType

the way the metric is reported either categorical or continuous

demoCategory

the name of the demographic category

breaks

a breaks strategy object to categorize results


Method getDemoLabel()

retrieve the demographic label

Usage

DemographicAge$getDemoLabel()


Method modifyBreaksLabels()

update the breaks labels within the statistics class

Usage

DemographicAge$modifyBreaksLabels(newLabels)

Arguments

newLabels

a character string of new labels for the breaks


Method clone()

The objects of this class are cloneable with this method.

Usage

DemographicAge$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.