predict.metamodel {dampack} | R Documentation |
Predict from a one-way or two-way metamodel
Description
Predict from a one-way or two-way metamodel
Usage
## S3 method for class 'metamodel'
predict(object, ranges = NULL, nsamp = 100, ...)
Arguments
object |
object with class "metamodel" |
ranges |
a named list of the form c("param" = c(0, 1), ...)
that gives the ranges for the parameter of interest. If NULL,
parameter values from the middle 95
from this range is determined by |
nsamp |
number of samples from ranges |
... |
further arguments to |
Value
a data.frame
containing the outcome values predicted by the metamodel
for each strategy and each combination of parameter values defined by ranges
.
[Package dampack version 1.0.2.1000 Index]