EvaluationModel {Mediana}R Documentation

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

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

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

[Package Mediana version 1.0.8 Index]