[R] Martingale residuals warning

2016-08-03 Thread Isaac Singini via R-help
Dear AllI am new to R,  I am struggling to figure out and resolve warning.I have fitted a joint model for survival and longitudinal data using the "JM" library using the syntax below. # Longitudinal submodellmeFit.p1_constr <- lme(sqrtcd4wk ~ cd4tpt  + pred:cd4tpt, data = cd4long_constr,       

Re: [R] Error when running a basic joint model

2016-05-16 Thread Isaac Singini via R-help
nd is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon, May 16, 2016 at 8:54 AM, Isaac Singini via R-help wrote: > Dear All > I have the following two datasets for joint modeling the survival an

[R] Error when running a basic joint model

2016-05-16 Thread Isaac Singini via R-help
Dear All I have the following two datasets for joint modeling the survival and longitudinal data. However when I run the joint model I get the following error. I am new to R, may someone assist Error in `[.data.frame`(lmeObject$data, all.vars(TermsX)) : undefined columns selected Data structu