CustomLabel: CustomLabel object

Description Usage Arguments Details References See Also Examples

Description

This function creates an object of class CustomLabel which can be added to an object of class PresentationModel.

Usage

1
CustomLabel(param, label)

Arguments

param

defines a parameter for which the labels will be assigned.

label

defines the label(s) to assign to the parameter.

Details

Objects of class CustomLabel are used in objects of class PresentationModel to specify the labels that will be assigned to the parameter. Several objects of class CustomLabel can be added to an object of class PresentationModel.

The argument param only accepts the following values:

References

http://gpaux.github.io/Mediana/

See Also

See Also PresentationModel.

Examples

1
2
3
4
5
6
7
## Create a PresentationModel object with customized label
presentation.model = PresentationModel() +
  Section(by = "outcome.parameter") +
  Table(by = "sample.size") +
  CustomLabel(param = "sample.size",
              label= paste0("N = ",c(50, 55, 60, 65, 70))) +
  CustomLabel(param = "outcome.parameter", label=c("Standard 1", "Standard 2"))

Mediana documentation built on May 8, 2019, 5:04 p.m.