Displaying 1 result from an estimated 1 matches for "mnuts2".
Did you mean:
nuts2
2012 Oct 05
0
jointModel error messages
...JM package to fit a
> simple joint model to longitudinal and survival data.
> I have come accross a range of errors when trying different things and
> just can't seem to get around them all.
>
> The code I use is as follows:
> fitLME = lme(cd4~trt+time, random=~time|num, data=mnuts2); summary(fitLME)
> fitSURV = coxph(Surv(fail.time, SI.code)~trt, x=TRUE, data=cov);
> summary(fitSURV)
> fitJM = jointModel(fitLME, fitSURV, timeVar="time",
> method="piecewise-PH-GH"); summary(fitJM)
>
> Both the lme and coxph functions work fine and both gi...