predict.metamodel: Predict from a one-way or two-way metamodel

Description Usage Arguments Value

View source: R/metamodel.R

Description

Predict from a one-way or two-way metamodel

Usage

1
2
## 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.

nsamp

number of samples from ranges

...

further arguments to predict (not used)

Value

a data.frame containing the outcome values predicted by the metamodel for each strategy and each combination of parameter values defined by ranges.


dampack documentation built on May 31, 2021, 1:06 a.m.