powered by
Computing cumulative beta from beta (the magnitude of the jumps of the coefficient function)
Calc_Cbeta(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.
# NOT RUN { beta = data.frame(time = c(1,2,3,4), beta = c(5,6,7,8)) cbeta = Calc_Cbeta(beta) # }
Run the code above in your browser using DataLab