survival_curve: general object to hold hazard, survival, or pdf

Description Format Value Methods Public fields Methods Examples

Description

general object to hold hazard, survival, or pdf

general object to hold hazard, survival, or pdf

Format

R6Class object.

Value

Object of R6Class with methods

Methods

display plot the conditonal survival/hazard/pdf

Public fields

t

vector of time points

hazard

matrix or vector of hazard

survival

matrix or vector of survival

pdf

matrix or vector of pdf

Methods

Public methods


Method new()

Usage
survival_curve$new(t, hazard = NULL, survival = NULL, pdf = NULL)

Method n()

Usage
survival_curve$n()

Method hazard_to_survival()

Usage
survival_curve$hazard_to_survival()

Method hazard_to_pdf()

Usage
survival_curve$hazard_to_pdf()

Method pdf_to_survival()

Usage
survival_curve$pdf_to_survival()

Method pdf_to_hazard()

Usage
survival_curve$pdf_to_hazard()

Method survival_to_pdf()

Usage
survival_curve$survival_to_pdf()

Method survival_to_hazard()

Usage
survival_curve$survival_to_hazard()

Method display()

Usage
survival_curve$display(type, W = NULL)

Method create_ggplot_df()

Usage
survival_curve$create_ggplot_df(W = NULL)

Method ci()

Usage
survival_curve$ci(
  A,
  T_tilde,
  Delta,
  density_failure,
  density_censor,
  g1W,
  psi_n,
  A_intervene,
  alpha = 0.05
)

Method clone()

The objects of this class are cloneable with this method.

Usage
survival_curve$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

1
2
3

wilsoncai1992/MOSS documentation built on June 1, 2020, 2:26 p.m.