hlme
, lcmm
or Jointlcmm
estimationhlme
, lcmm
or Jointlcmm
object.postprob(x,...)
postprob.hlme(x,...)
postprob.lcmm(x,...)
postprob.Jointlcmm(x,...)
hlme
, lcmm
or Jointlcmm
representing respectively a fitted latent class
linear mixed-effects model, a more general latent class mixed model or a joint latent class 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.postprob
data(data_hlme)
m<-lcmm(Y~Time+X1+X1_time,mixture=~Time,random=~Time,classmb=~X2+X3,
subject='ID',ng=2,data=data_hlme)
postprob(m)
Run the code above in your browser using DataLab