Description Format Value Methods Public fields Methods Examples
general object to hold hazard, survival, or pdf
general object to hold hazard, survival, or pdf
R6Class
object.
Object of R6Class
with methods
display plot the conditonal survival/hazard/pdf
t
vector of time points
hazard
matrix or vector of hazard
survival
matrix or vector of survival
pdf
matrix or vector of pdf
new()
survival_curve$new(t, hazard = NULL, survival = NULL, pdf = NULL)
n()
survival_curve$n()
hazard_to_survival()
survival_curve$hazard_to_survival()
hazard_to_pdf()
survival_curve$hazard_to_pdf()
pdf_to_survival()
survival_curve$pdf_to_survival()
pdf_to_hazard()
survival_curve$pdf_to_hazard()
survival_to_pdf()
survival_curve$survival_to_pdf()
survival_to_hazard()
survival_curve$survival_to_hazard()
display()
survival_curve$display(type, W = NULL)
create_ggplot_df()
survival_curve$create_ggplot_df(W = NULL)
ci()
survival_curve$ci( A, T_tilde, Delta, density_failure, density_censor, g1W, psi_n, A_intervene, alpha = 0.05 )
clone()
The objects of this class are cloneable with this method.
survival_curve$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 | survival_curve$new(t, hazard)
survival_curve$new(t, survival)
survival_curve$new(t, pdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.