Description Usage Arguments Details References See Also Examples
This function creates an object of class CustomLabel which can be
added to an object of class PresentationModel.
1 | 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"
http://gpaux.github.io/Mediana/
See Also PresentationModel.
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.