CustomLabel {Mediana}R Documentation

CustomLabel object

Description

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

Usage

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

## 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"))

[Package Mediana version 1.0.8 Index]