drizopoulos / JMbayes2

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

Can not install the Package ("JMbayes") #21

Closed OceansDeep219 closed 2 years ago

OceansDeep219 commented 2 years ago

Unable to install the package("JMbayes") in R 4.1.3 on Mac OS 12.3 or Win 11. Error: package or namespace load failed for 'jmbayes': When 'rjags' is counted in loadnamespace() Onload failed.

drizopoulos commented 2 years ago

This is the repository for the JMbayes2 package which is a newer version than JMbayes. Try install.packages("JMbayes2").

OceansDeep219 commented 2 years ago

Thanks for your reply, i have installed the package "### JMbayes2", but i can not use the jointModelBayes(...) function. Could you teach me how to use the functions in the ### Packages: jointModelBayes

drizopoulos commented 2 years ago

There are several examples on the website of the package: https://drizopoulos.github.io/JMbayes2/.

OceansDeep219 commented 2 years ago

I see, thank you very much! ^-^!