read.raw.spu: Read HIV uncertainty data

View source: R/extract-spu.R

read.raw.spuR Documentation

Read HIV uncertainty data

Description

Uncertainty around HIV incidence and prevalence for AIM is sampled using tools like EPP and CSAVR. These tools produce store the uncertainty data in an SPU file within a projection. An SPU file is a CSV file that stores coupled estimates of HIV incidence and prevalence that correspond to underlying sampled model parameter values. read.raw.spu loads the contents of this file with minimal processing. Other functions, like format.spu can be used to reformat these data for easier use.

Usage

read.raw.spu(pjnz.file)

Arguments

pjnz.file

The Spectrum file to extract data from

Value

a dataframe with one row per row in the SPU file

Examples

dp.data = read.data.spu("Antarctica.PJNZ")

rlglaubius/SpectrumUtils documentation built on Dec. 20, 2024, 7:31 a.m.