jmcsBig | R Documentation |
function for joint model in BIG DATA using FastJM
jmcsBig(dtlong, dtsurv, longm, survm, samplesize = 50, rd, id)
dtlong |
longitudinal dataset, which contains id,visit time,longitudinal measurements along with various covariates |
dtsurv |
survival dataset corresponding to the longitudinal dataset, with survival status and survival time |
longm |
model for longitudinal response |
survm |
survival model |
samplesize |
sample size to divide the Big data |
rd |
random effect part |
id |
name of id column in longitudinal dataset |
returns a list containing various output which are useful for prediction.
Atanu Bhattacharjee, Bhrigu Kumar Rajbongshi and Gajendra Kumar Vishwakarma
Li, Shanpeng, et al. "Efficient Algorithms and Implementation of a Semiparametric Joint Model for Longitudinal and Competing Risk Data: With Applications to Massive Biobank Data." Computational and Mathematical Methods in Medicine 2022 (2022).
jmbayesBig,jmstanBig,joinRMLBig
##
library(survival)
library(dplyr)
fit2<-jmcsBig(dtlong=data.frame(long2),dtsurv = data.frame(surv2),
longm=y~ x7+visit,survm=Surv(time,status)~x1+visit,rd= ~ visit|id,samplesize=200,id='id')
print(fit2)
##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.