plac-package {plac} | R Documentation |
A Package for Computating the Pairwise Likelihood Augmented Cox Estimator for Left-Truncated Data.
Description
This package provides both lower-level C++
functions (PLAC_TI()
, PLAC_TV()
and PLAC_TvR()
) and an R wrapper function PLAC()
to calculate the pairwise likelihood augmented Cox estimator for left-truncated survival data as proposed by Wu et al. (2018).
Wrapper Function PLAC()
This R
wrapper function calls different C++
function depending on the covariate types data
has.
C++ Functions
The three C++
functions PLAC_TI()
, PLAC_TV()
and PLAC_TvR()
provide a direct interface to the algorithm in case that users need to supply more flexible time-dependent coavriates other than indicator functions.
References
Wu, F., Kim, S., Qin, J., Saran, R., & Li, Y. (2018). A pairwise likelihood augmented Cox estimator for leftâtruncated data. Biometrics, 74(1), 100-108.
[Package plac version 0.1.3 Index]