Closed hpcowley closed 5 months ago
The error is because your INLA vesrion is too old, we made changes in INLA that are required for INLAjoint. You can update INLA from R by running the following command if you are using Linux or MAC:
library(INLA)
inla.update(testing=T)
If you are using Windows, you can update with the following command in R:
install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/testing"), dep=TRUE)
Also, in your call of the joint() function, you don't need to specify the dataset for the outcome in the inla.surv object, i.e., inla.surv(time_since_dx_days, death_status)
Best, Denis
Thank you so much for your quick help! I really appreciate it.
I am attempting to specify a simple joint model of the following form:
When I do so, I receive the error:
inla.get.inlaEnv is not an exported object from 'namespace:INLA'
I am using INLA 19.01.29 and INLAjoint 24.3.25.
Any help you can provide is much appreciated!