Generates parameters from models estimated with hlme,
lcmm, multlcmm, Jointlcmm or mpjlcmm functions.
Parameters are randomly sampled from a Gaussian distribution using estimates
and corresponding variances of a model.
Usage
sampleParameters(x, cholesky = FALSE)
Value
a named vector containing the sampled parameters.
Arguments
x
an object of class hlme, lcmm, multlcmm,
Jointlcmm, or mpjlcmm.
cholesky
optional logical indicating if cholesky parameters should be
returned. Default to FALSE, the variance-covariance parameters of the
random effects are returned.