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

EvaluationModel

EvaluationModel object


Description

EvaluationModel() initializes an object of class EvaluationModel.

Usage

EvaluationModel(...)

Arguments

...

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

Details

Evaluation models are used within the Mediana package to specify the measures (metrics) for evaluating the performance of the selected clinical scenario (combination of data and analysis models).

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

Object of Class Criterion can be added to an object of class EvaluationModel.

References

See Also

See Also Criterion.

Examples

## Initialize a EvaluationModel and add objects to it
evaluation.model = EvaluationModel() +
                   Criterion(id = "Marginal power",
                             method = "MarginalPower",
                             tests = tests("Placebo vs treatment"),
                             labels = c("Placebo vs treatment"),
                             par = parameters(alpha = 0.025))

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.