Description Usage Arguments Value
View source: R/read_epp_results.R
Gets the incidence, prevalence and population data (if available) for a single region, e.g. National, Urban or Rural.
1 | extract_incidence_prevalence(break_index, spt_data, no_of_years)
|
break_index |
The index of the line break in the spt_data where data about this region ends. |
spt_data |
The complete spt data read from a file. |
no_of_years |
The number of years in the data set, equivalent to the number of rows we return. |
A data frame, one row for each year showing the HIV incidence, prevalence and population (if available).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.