drizopoulos / JMbayes2

Extended Joint Models for Longitudinal and Survival Data
https://drizopoulos.github.io/JMbayes2/
79 stars 23 forks source link

Error in predict function in JMbayes2 #13

Closed Rochelle1995 closed 2 years ago

Rochelle1995 commented 2 years ago

Thank you , Here is the error

predLong <- predict(jFit_CR, newdata = ND, return_newdata = TRUE, times = seq(6.5, 15, length = 25)) Error in split.default(x, g) : first argument must be a vector

predEvent <- predict(jFit_CR, newdata = ND, return_newdata = TRUE, process = "event") Error in split.default(x, g) : first argument must be a vector

drizopoulos commented 2 years ago

Is this with the most recent version from GitHub, i.e., JMbayes2_0.1-85?

Rochelle1995 commented 2 years ago

No, it is 0.1.80 from CRAN. R version is 4.1.2 (Bird Hippie).