Description Usage Arguments Details References See Also Examples
EvaluationModel()
initializes an object of class EvaluationModel
.
1 |
... |
defines the arguments passed to create the object of class |
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
.
http://gpaux.github.io/Mediana/
See Also Criterion
.
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.