read_spt: Read best fitting HIV incidence and prevalence data from SPT...

Description Usage Arguments Details Value Examples

View source: R/read_epp_results.R

Description

Locates SPT file within the PJNZ file and reads out the best fitting incidence and prevalence data into memory.

Usage

1
read_spt(pjnz_path)

Arguments

pjnz_path

Path to the PJNZ file.

Details

Reads best fitting prevalence and incidence and population data for all regions. The outputs one data frame for each region in the SPT file.

Value

List of data frames containing the best fit prevalence and incidence data.

Examples

1
2
pjnz_path <- system.file("testdata", "Botswana2018.PJNZ", package = "specio")
read_spt(pjnz_path)

mrc-ide/specio documentation built on April 15, 2021, 8:37 a.m.