View source: R/ctStanContinuousPars.R
ctStanContinuousPars | R Documentation |
Returns the continuous time parameter matrices of a ctStanFit fit object
ctStanContinuousPars(
fit,
calcfunc = quantile,
calcfuncargs = list(probs = 0.5),
timeinterval = 1
)
fit |
fit object from |
calcfunc |
Function to apply over samples, must return a single value.
By default the median over all samples is returned using the |
calcfuncargs |
A list of additional parameters to pass to calcfunc. For instance, with the default of calcfunc = quantile, the probs argument is needed to ensure only a single value is returned. |
timeinterval |
time interval for discrete time parameter matrix computation. |
#posterior median over all subjects (also reflects mean of unconstrained pars)
ctStanContinuousPars(ctstantestfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.