drizopoulos / JMbayes

Joint Models for Longitudinal and Survival Data using MCMC
58 stars 23 forks source link

Update to survfitJM.mvJMbayes.R #62

Closed harryparr closed 3 years ago

harryparr commented 4 years ago

Adding the option to exponentiate the y-axis for the dynamic predictions of an mvJMbayes object. For example, when longitudinal response has been logged but wishes to report their raw values.

harryparr commented 4 years ago

It probably can be made to be more general to allow for any transformation function. Replacing with yexp to yfun = NULL and sapply(..., yfun)