hlme, lcmm, multlcmm or Jointlcmm estimation
hlme, lcmm, multlcmm or Jointlcmm object.
"postprob"(x,threshold=c(0.7,0.8,0.9),...)
"postprob"(x,threshold=c(0.7,0.8,0.9),...)
"postprob"(x,threshold=c(0.7,0.8,0.9),...)
"postprob"(x,threshold=c(0.7,0.8,0.9),...)hlme, lcmm, Jointlcmm or multlcmm representing respectively a fitted latent class
linear mixed-effects model, a more general latent class mixed model, a joint latent class model or a multivariate general latent class mixed model.hlme, lcmm objects, the posterior classification and the classification table are derived from the posterior class-membership probabilities given the vector of repeated measures that are contained in pprob output matrix.
For a Jointlcmm object, the first posterior classification and the classification table are derived from the posterior class-membership probabilities given the vector of repeated measures and the time-to-event information (that are contained in columns probYT1, probYT2, etc in pprob output matrix). The second posterior classification is derived from the posterior class-membership probabilities given only the vector of repeated measures (that are contained in columns probY1, probY2, etc in pprob output matrix).
Jointlcmm, lcmm, hlme,plot.lcmm
m<-lcmm(Y~Time*X1,mixture=~Time,random=~Time,classmb=~X2+X3,
subject='ID',ng=2,data=data_hlme,B=c(0.41,0.55,-0.18,-0.41,
-14.26,-0.34,1.33,13.51,24.65,2.98,1.18,26.26,0.97))
postprob(m)
Run the code above in your browser using DataLab