# NOT RUN {
data(latrendData)
method <- lcMethodLcmmGBTM(fixed = Y ~ Time, mixture = ~ 1,
id = "Id", time = "Time", nClusters = 3)
gbtm <- latrend(method, data = latrendData)
summary(gbtm)
method <- lcMethodLcmmGBTM(fixed = Y ~ Time, mixture = ~ Time,
id = "Id", time = "Time", nClusters = 3)
# }
Run the code above in your browser using DataLab