CustomLabel object
This function creates an object of class CustomLabel which can be added to an object of class PresentationModel.
CustomLabel(param, label)
param |
defines a parameter for which the labels will be assigned. |
label |
defines the label(s) to assign to the parameter. |
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:
"sample.size"
"event"
"outcome.parameter"
"design.parameter"
"multiplicity.adjustment"
See Also PresentationModel.
## 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"))Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.