Description Usage Arguments Value Examples
View source: R/life.years.lived.R
A function that returns the total number of life-years lived between two points in simulation time for a particular age group and gender
1 2 | life.years.lived(datalist = datalist, agegroup = c(15, 30),
timewindow = c(15, 30), site = "All")
|
datalist |
The datalist that is produced by |
agegroup |
alive people within this agegroup. |
timewindow |
alive people within this simulation time e.g timewindow = c(15, 30). |
site |
Select only the particular site from the study, if all ignore site/use all sites. |
the total number of life-years lived aggregated by gender.
1 2 3 4 | data(datalist)
life.years.lived <- life.years.lived(datalist = datalist, agegroup=c(15, 30),
timewindow=c(15, 30), site="All")
life.years.lived
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.