This is an internal function and is not usually called by user. This function estimates the current cumulative incidence (CCI), i.e. the probability that a patient is alive and in any disease remission after initiating his or her therapy.
cci.pest(E, LastContact, Exitus, maxx)
a matrix with ascending times from therapy initiation to occurrence of individual events (in days); the size of the data matrix is n times (2*r), where n is the number of patients and r is the maximum number of disease remissions achieved by patients; the data matrix consists of the following columns: E[,1] is the time from therapy initiation to achievement of the first disease remission E[,2] is the time from therapy initiation to loss of the first disease remission E[,3] is the time from therapy initiation to achievement of the second disease remission … E[,2*r-1] is the time from therapy initiation to achievement of the rth disease remission E[,2*r] is the time from therapy initiation to loss of the rth disease remission
a vector containing the follow-up time (time from therapy initiation to death or to the date of last contact with a patient)
a vector containing the censoring indicators (1..patient died, 0..patient is censored)
maximum follow-up time in days
days from 0 to maximum follow-up time maxx
CCI function estimates at each day
Pavlik T., Janousova E., Pospisil Z., et al. (2011). Estimation of current cumulative incidence of leukaemia-free patients and current leukaemia-free survival in chronic myeloid leukaemia in the era of modern pharmacotherapy. BMC Med Res Methodol 11:140.
# NOT RUN {
# This is an internal function and is not usually called by user.
# }
Run the code above in your browser using DataLab