Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.metamodel

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.

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

Decision-Analytic Modeling Package

v1.0.0
GPL-3
Authors
Fernando Alarid-Escudero [aut], Greg Knowlton [aut, cre], Caleb Easterly [aut], Eva Enns [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.