I receive the following error message:
Error in if (t1 || t2) { : missing value where TRUE/FALSE needed
And when I just type:
library(JM)
lmefit=lme(ADAS11+apoe4+AGEING,random = ~AGEING|RID,data = AD,na.action=na.exclude)
coxfit=coxph(Surv(AGEEND,DXEND)~apoe4bl+,data = AD.RID,x=TRUE)
jointfit=jointModel(lmefit,coxfit,timeVar = "AGEING")
What does it mean, and how do I solve it.Thanks
I tried rescaling the time variable and it worked without having to remove any IDs
Worth a shot
https://github.com/drizopoulos/JM/issues/10
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With