Learn R Programming

CEAmarkov (version 0.1.0)

extract_prob: Title This function extract all-cause mortality probability based on the model's parameters

Description

Title This function extract all-cause mortality probability based on the model's parameters

Usage

extract_prob(initial_age, selected_country, time_horizon, gender,
  selected_year, cycle_length, prob_data)

Arguments

initial_age

initial age

selected_country

country

time_horizon

null for lifetime horizon or number of years

gender

gender

selected_year

the year the data is extracted from

cycle_length

cycle length in years

prob_data

data containing probabilities, country and age

Value

five_year_prob