predict-fitodeMCMC-method: Prediction function for fitodeMCMC objects

predict,fitodeMCMC-methodR Documentation

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 signature 'fitodeMCMC'
predict(object, level, times, simplify = TRUE)

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

Value

Estimated trajectories and their credible intervals of the fitodeMCMC object


parksw3/fitode documentation built on April 3, 2024, 7:45 a.m.