predict.prdfn: Model Predictions

Description Usage Arguments Value

View source: R/prdClass.R

Description

Make a model prediction for times and a parameter frame. The function is a generalization of the standard prediction by a prediction function object in that it allows to pass a parameter frame instead of a single parameter vector.

Usage

1
2
## S3 method for class 'prdfn'
predict(object, ..., times, pars, data = NULL)

Arguments

object

prediction function

...

Further arguments goint to the prediction function

times

numeric vector of time points

pars

parameter frame, e.g. output from mstrust or profile

data

data list object. If data is passed, its condition.grid attribute is used to augment the output dataframe by additional columns. "data" itself is returned as an attribute.

Value

A data frame


dMod documentation built on Jan. 27, 2021, 1:07 a.m.