Estep {icpack} | R Documentation |
Perform the E-step in the EM algorithm
Description
Perform the E-step in the EM algorithm
Usage
Estep(H, Ic, R1, dead)
Arguments
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) |
Value
A list with two matrices
Y |
Expected probability of event per bin per subject |
R |
Expected probability of at risk per bin per subject |
[Package icpack version 0.1.0 Index]