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)
})
Run the code above in your browser using DataLab