[R] Question regarding to joint model using JM package

2011-07-07 Thread hsu ya-hui
Dear R users, I use "fitted" function in JM package to get fitted marginal survival function for each subject and then plot marginal survival function for the event process (x-axis: time, y-axis: survival). Is it possible that I could get pointwise 95%CI for this survial function? Thanks, Kate

[R] K-M probability for each subject

2011-05-19 Thread hsu ya-hui
Dear R-user, I would like to get the survival probability (surv) for each subject id. That is, I want to have additional column surv as follows: id OS OS_DUR surv eg: fitKM<-survfit(Surv(OS_DUR,OS)~1,data=data) fitKM$surv # this will only give me survival probability and