predict.prdfn: Model Predictions

View source: R/prdClass.R

predict.prdfnR Documentation

Model Predictions

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

## 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


dkaschek/dMod documentation built on April 23, 2024, 5:18 p.m.