Get Values of (Standard or Marginal) Survival Curves
Source:R/get_survivals.R
survivals_original.RdGet Values of (Standard or Marginal) Survival Curves
Usage
survivals_original(
t = 0:99,
alpha,
bz1,
bz0,
s = NULL,
marginal = !is.null(s),
matrix = TRUE,
set_attributes = FALSE,
...
)Arguments
- t
numeric vector of times (ages)
- alpha
numeric vector of alpha-parameter(s)
- bz1
bz1 parameter
- bz0
bz0 parameter
- s
passed to
marginal_survival- marginal
if
TRUEthe marginal survival curve withsas standard deviation is calculated instead of the standard survival curve. By defaultmarginalisTRUEifsis notNULL.- matrix
if
TRUEand the length ofalphais greater than one the result is a matrix with each row representing onealphavalue and each column representing a time. Otherwise the result is a list with each list element representing onealphavalue- set_attributes
if
TRUE(the default isFALSE) an attributeargscontaining the arguments given to this function is set in the result- ...
further arguments passed to
marginal_survivalorstandard_survival