Learn R Programming

fitode (version 0.1.1)

predict,fitodeMCMC-method: Prediction function for fitodeMCMC objects

Description

Computes estimated trajectories and their credible intervals. The estimated trajectories are obtained by taking the median trajectories from the posterior samples.

Usage

# S4 method for fitodeMCMC
predict(object, level, times, simplify = TRUE)

Value

Estimated trajectories and their credible intervals of the fitodeMCMC object

Arguments

object

fitodeMCMC object

level

the credible level required

times

time vector to predict over. Default is set to the time frame of the data.

simplify

(logical) simplify output to return estimated trajectories and their credible intervals? If simplify=FALSE, all posterior trajectories will be returned