ctStanParMatrices: Returns model equation and other matrices from a ctStanFit object, and vector of values for free parameters.
Description
Returns model equation and other matrices from a ctStanFit object, and vector of values for free parameters.
Usage
ctStanParMatrices(fit, parvalues, timeinterval = 1, sf = NA)
Arguments
fit
ctStanFit object.
parvalues
vector of parameter values to assign to free parameters in the model
timeinterval
time interval to use for discrete time (dt) matrix calculations.
sf
stanfit object. Generally not necessary, but for repeated calls to this function, can speed things up.
Value
A list containing various matrices related to a continuous time dynamic model.
Matrices with "dt" in front refers to discrete time, "asym" refers to asymptotic (time interval = infinity),
and "cor" refers to correlations.