The plot issue in lcmm package

Hello everyone, I am using R package lcmm to estimating a latent class mixed model using hlme function. Everything is fine except that when ploting both observed values and predicted values, the last data point is always missed in the plot:

The R code:

plot(lcsleep, which="fit", var.time="variable", marg=FALSE, shades = TRUE, break.times=c(-0.5,0.5,1.5,2.5,3.5,4.5,5.5,12.5,21.5))​

I have the time point at 0, 1,2,3,4,5,9,17. But the data point at 17 can not be shown on the plot. Does anyone has similar problem before? is there a way to extract the observed and predicted values?

thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.