Estep {icpack} | R Documentation |
Perform the E-step in the EM algorithm
Estep(H, Ic, R1, dead)
H |
Hazards per individual (in columns) |
Ic |
Censoring interval per individual, coded as 0/1 (in columns) |
R1 |
Left truncation interval per individual, coded as 0/1 (in columns) |
dead |
Boolean vector (TRUE is event, FALSE is right censored) |
A list with two matrices
Y |
Expected probability of event per bin per subject |
R |
Expected probability of at risk per bin per subject |