Description Usage Arguments Value
The Y constructor function returns an R6 Y class which feeds disease count data into sourceR models.
1 |
data |
long-format data.frame containing source data |
y |
character string giving name of disease counts column in data |
type |
character string giving name of type column in data |
time |
optional column denoting times of disease count observations |
location |
optional column denoting location of disease count observations |
A Y disease count data structure for use in sourceR models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.