Learn R Programming

Mediana (version 1.0.8)

AnalysisModel: AnalysisModel object

Description

AnalysisModel() initializes an object of class AnalysisModel.

Usage

AnalysisModel(...)

Arguments

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

Details

Analysis models define statistical methods that are applied to the study data in a clinical trial.

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

Objects of class Test, MultAdjProc, MultAdjStrategy, MultAdj and Statistic can be added to an object of class AnalysisModel.

References

http://gpaux.github.io/Mediana/

See Also

See Also Test, MultAdjProc, MultAdjStrategy, MultAdj and Statistic.

Examples

Run this code
# NOT RUN {
## Initialize an AnalysisModel and add objects to it
analysis.model = AnalysisModel() +
                 Test(id = "Placebo vs treatment",
                      samples = samples("Placebo", "Treatment"),
                      method = "TTest")
# }

Run the code above in your browser using DataLab