function_for_table_of_combination: function_for_table_of_combination This function produces...

Description Usage Arguments Value

View source: R/function_for_table_and_survival_of_combination.r

Description

function_for_table_of_combination This function produces table with different combinations of scenarious and life expectancies

Usage

1
2
3
4
5
6
7
8
9
function_for_table_of_combination(
  age,
  a,
  b,
  vector_of_coefficients,
  LogHazardRations,
  data_for_weights,
  working_directory
)

Arguments

age

age

a

- intercept of Gompertz baseline hazards

b

- slope of Gompertz baseline hazards

vector_of_coefficients

- vector of coefficients from cox-model

LogHazardRations

- log hazard rations from cox-model

data_for_weights

- weights, i.e proportions for each generated combination

working_directory

- the working directory for any data that is produced from the functions to be saved in a folder

Value

data frame with life expectancies for given data frame of clients function_for_table_of_combination()


mylongevityapp/mylongevity documentation built on Dec. 21, 2021, 11:07 p.m.