tneSurvfit: Time, No. at risk, No. events, No. expected (by predictor)
Description
Gives time, no. at risk and no. events for a
survfit object describing right censored data with
one predictor. Also per-predictor estimates of no. at
risk, no. expected and no. events - no. expected.
No. events expected (per predictor) is given by:
$$\frac{e_i(n[p]_i)}{n_i}$$ where
$n[p]_i$ is the no. at risk for the predictor.