Description Usage Arguments Details References See Also Examples
This function creates an object of class Section which can be added
to an object of class PresentationModel.
1 |
by |
defines the parameter to create the section in the report. |
Objects of class Section are used in objects of class
PresentationModel to define how the results will be presented in the
report. If a Section object is added to a PresentationModel
object, the report will have sections according to the parameter defined in
the by argument. A single object of class Section can be added
to an object of class PresentationModel.
One or several parameters can be defined in the by argument:
"sample.size"
"event"
"outcome.parameter"
"design.parameter"
"multiplicity.adjustment"
http://gpaux.github.io/Mediana/
See Also PresentationModel.
1 2 3 4 5 6 7 8 9 10 | # Reporting
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"))
# In this report, one section will be created for each outcome parameter assumption.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.