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

PresentationModel

PresentationModel object


Description

PresentationModel() initializes an object of class PresentationModel.

Usage

PresentationModel(...)

Arguments

...

defines the arguments passed to create the object of class PresentationModel.

Details

Presentation models can be used to create a customized structure to report the results. Project information, structure of the sections and subsections, as well as sorting the results tables and labeling of scenarios can be defined.

PresentationModel() is used to create an object of class PresentationModel incrementally, using the '+' operator to add objects to the existing PresentationModel object. The advantage is to explicitely define which objects are added to the PresentationModel object. Initialization with PresentationModel() is highly recommended.

Objects of class Project, Section, Subsection, Table and CustomLabel can be added to an object of class PresentationModel.

References

See Also

Examples

presentation.model = PresentationModel() +
  Project(username = "Gautier Paux",
          title = "Clinical trial",
          description = "Simulation report for my clinical trial") +
  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.