Specify a GLMM iwht a normal mixture in the random effects
Specify a GLMM iwht a normal mixture in the random effects
lcMethodMixAK_GLMM(
fixed,
random,
time = getOption("latrend.time"),
id = getOption("latrend.id"),
nClusters = 2,
...
)fixed |
A |
random |
A |
time |
The name of the time variable. |
id |
The name of the trajectory identifier variable. This is used to generate the |
nClusters |
The number of clusters. |
... |
Arguments passed to mixAK::GLMM_MCMC. The following external arguments are ignored: y, x, z, random.intercept, silent. |
Komárek A (2009). “A New R Package for Bayesian Estimation of Multivariate Normal Mixtures Allowing for Selection of the Number of Components and Interval-Censored Data.” Computational Statistics \& Data Analysis, 53, 3932–3947. doi: 10.1016/j.csda.2009.05.006.
Other lcMethod implementations:
lcMethod-class,
lcMethodAkmedoids,
lcMethodCrimCV,
lcMethodCustom,
lcMethodDtwclust,
lcMethodFeature,
lcMethodFunFEM,
lcMethodGCKM,
lcMethodKML,
lcMethodLMKM,
lcMethodLcmmGBTM,
lcMethodLcmmGMM,
lcMethodLongclust,
lcMethodMclustLLPA,
lcMethodMixtoolsGMM,
lcMethodMixtoolsNPRM,
lcMethodRandom,
lcMethodStratify
data(latrendData)
# this example only runs when the mixAK package is installed
try({
method <- lcMethodMixAK_GLMM(fixed = Y ~ 1, random = ~ Time,
id = "Id", time = "Time", nClusters = 3)
model <- latrend(method, latrendData)
summary(model)
})Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.