Simulated data

Description

Data simulated from the source attribution model. Intended for use demonstrating use of the sourceR package.

Usage

1
data("sim_SA")

Format

The format is a list giving the prevalence data dataframe and source and human data dataframes:

Parameter Format
prev Dataframe giving the prevalence values, source id and time identifiers for each source.
data Dataframe giving the number of human cases for each type, time and location; and the
number of positive source samples for each source, type, and time.
..$ Human : number of human cases
..$ Type : type id
..$ Time : time id
..$ Location: location id
..$ Source1 : number of positive samples for each type (source 1)
..$ Source2 : number of positive samples for each type (source 2)
..$ Source3 : number of positive samples for each type (source 3)
..$ Source4 : number of positive samples for each type (source 4)
..$ Source5 : number of positive samples for each type (source 5)

Details

Note that the source data differs between times, but is the same for each location within a time. This is necessary because the source prevalences only vary over time. If the source data is not the same for each location within a given time, the mcmc will return an error.

Examples

1