The Prev constructor function returns an R6 Prevalence class which feeds data into sourceR models.
Prev(data, prev, source, time = NULL)
long-format data.frame containing prevalence data by source and time.
character string giving name of prevalence column in data
character string giving name of source column in data
optional column denoting times of prevalence observation
A Prev data structure for use in sourceR models