EvaluationModel: EvaluationModel object

Description Usage Arguments Details References See Also Examples

View source: R/EvaluationModel.R

Description

EvaluationModel() initializes an object of class EvaluationModel.

Usage

1

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

1
2
3
4
5
6
7
## 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))

gpaux/Mediana documentation built on May 31, 2021, 1:22 a.m.