# FrenchDementia: Computation of Health Indicators for dementia in France In floguillet/MCSPCD: Monte Carlo Simulation for Projections of epidemiological burden of Chronic Disease

## Description

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

## Usage

 ```1 2 3``` ```FrenchDementia(t, intervention = 0, year_intervention = NULL, nb_people = 100, nb_iter = 0, gender = "W", a01_cst = TRUE, theta02_cst = FALSE, 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`. `gender` gender for computation. `"W"` for women and `"M"` for men. Default is `"W"`. `a01_cst` `TRUE` without reduction for a01 during time. `FALSE` with a reduction for a01 during time. Default is `TRUE`. `theta02_cst` `TRUE` without increase for theta02. `FALSE` with an increase for theta02. Default is `FALSE`. `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``` ```FrenchDementia(t = 2040, intervention = 1, year_intervention = 2020, nb_people = 10000, nb_iter = 100, gender = "W", a01_cst = TRUE, theta02_cst = FALSE, Ncpus = 1) ```

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