Get Values of (Standard or Marginal) Survival Curves
Source:R/get_survivals.R
survivals_original.Rd
Get 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
TRUE
the marginal survival curve withs
as standard deviation is calculated instead of the standard survival curve. By defaultmarginal
isTRUE
ifs
is notNULL
.- matrix
if
TRUE
and the length ofalpha
is greater than one the result is a matrix with each row representing onealpha
value and each column representing a time. Otherwise the result is a list with each list element representing onealpha
value- set_attributes
if
TRUE
(the default isFALSE
) an attributeargs
containing the arguments given to this function is set in the result- ...
further arguments passed to
marginal_survival
orstandard_survival