This function estimates the baseline survival function given the survival data, covariates and frailty predictions.
1 |
Time |
A vector of length n, containing the observed event/censoring times. |
Status |
A vector of length n, containing the event/censoring indicators (event:1 and censoring:0). |
X |
A nxk matrix of covariates.. |
beta |
A vector of length k, containing the covariate effects. |
frailty |
A vector of length j, containing all j frailty predictions. |
grp |
A vector of length n, containing the grouping indicators (to identify the frailty term for each subject). |
w |
A vector of length n, containing the expected susceptibility indicator. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.