Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CustomLabel

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:

  • "sample.size"

  • "event"

  • "outcome.parameter"

  • "design.parameter"

  • "multiplicity.adjustment"

References

See Also

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

Mediana

Clinical Trial Simulations

v1.0.8
GPL-2
Authors
Gautier Paux, Alex Dmitrienko.
Initial release
2019-05-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.