Calc_Cbeta {ahMLE} | R Documentation |
Computing cumulative beta from beta (the magnitude of the jumps of the coefficient function)
Calc_Cbeta(beta)
beta |
The dataframe storing the magnitude of the jumps beta of the coefficients of the additive hazard. The first column should be the survival time. |
Return the cumulative beta by the giving beta.
beta = data.frame(time = c(1,2,3,4), beta = c(5,6,7,8)) cbeta = Calc_Cbeta(beta)