general object to hold hazard, survival, or pdf
survival_curve
R6Class
object.
Object of R6Class
with methods
t
vector of time points
hazard
matrix or vector of hazard
survival
matrix or vector of survival
pdf
matrix or vector of pdf
display plot the conditonal survival/hazard/pdf
survival_curve$new(t, hazard)#> Error in .subset2(public_bind_env, "initialize")(...): object 'hazard' not foundsurvival_curve$new(t, survival)#> Error in .subset2(public_bind_env, "initialize")(...): object 'survival' not foundsurvival_curve$new(t, pdf)#> Error in min(x, na.rm = na.rm): invalid 'type' (list) of argument