estimHI: Computation of Health Indicators

Description Usage Arguments Value Examples

View source: R/estimHI.R

Description

This function computes many health indicators under several scenarios of intervention in risk factor distribution for a given year.

Usage

1
2
3
4
5
6
7
estimHI(t, intervention = 0, year_intervention = NULL,
  nb_people = 100, nb_iter = 0, data_pop, gender = "W",
  data_a01_values, data_a02_values, data_theta01_values,
  data_theta02_values, data_theta12_values, data_prev_values,
  data_incid_values, data_rr_DvsND_values, data_a01, data_a02,
  data_theta01, data_theta02, data_theta12, data_prev, data_incid,
  data_rr_DvsND, Ncpus = 1)

Arguments

t

year of the projections for health indicators.

intervention

0 = no change; 1 = reduction by two of risk factor distribution; 2 = risk factor distribution considered as null. Default is 0.

year_intervention

year of the intervention in risk factor distribution takes place. Default is NULL.

nb_people

number of people whose trajectory will be simulated for each generation. Default is 100.

nb_iter

number of iterations for the algorithm. Default is 0.

data_pop

data source for demographics data.

gender

gender for computation. "W" for women and "M" for men. Default is "W".

data_a01_values

data source for the incidence of disease.

data_a02_values

data source for the mortality of healthy subjects.

data_theta01_values

data source for the relative risks associated with the exposure for disease.

data_theta02_values

data source for the relative risks associated with the exposure for mortality among healthy subjects.

data_theta12_values

data source for the relative risks associated with the exposure for mortality among diseased subjects.

data_prev_values

data source for the prevalence of the exposition.

data_incid_values

data source for the incidence of the exposition.

data_rr_DvsND_values

data source for the relative risks associated with the disease for mortality.

data_a01

variability of data source for the incidence of disease.

data_a02

variability of data source for the mortality of healthy subjects.

data_theta01

variability of data source for the relative risks associated with the exposure for disease.

data_theta02

variability of data source for the relative risks associated with the exposure for mortality among healthy subjects.

data_theta12

variability of data source for the relative risks associated with the exposure for mortality among diseased subjects.

data_prev

variability of data source for the prevalence of the exposition.

data_incid

variability of data source for the incidence of the exposition.

data_rr_DvsND

variability of data source for the relative risks associated with the disease for mortality.

Ncpus

The number of processors available. Default is "1".

Value

a list containing the health indicators

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
estimHI(t = 2040,
intervention = 1,
year_intervention = 2020,
nb_people = 10000,
nb_iter = 100,
data_pop = pop,
gender = "W",
data_a01_values = a01_constant_values,
data_a02_values = a02_constant_values,
data_theta01_values = theta01_cas_1_6_values,
data_theta02_values = theta02_increase_values,
data_theta12_values = theta02_increase_values,
data_prev_values <- prevconso_values,
data_incid_values <- incidconso_values,
data_rr_DvsND_values = rr_DvsND_values,
data_a01 = a01_constant,
data_a02 = a02_constant,
data_theta01 = theta01_cas_1_6,
data_theta02 = theta02_increase,
data_theta12 = theta02_increase,
data_prev = prevconso,
data_incid = incidconso,
data_rr_DvsND = rr_DvsND,
Ncpus = 1)

floguillet/MCSPCD documentation built on Dec. 16, 2019, 2:08 a.m.