Description Usage Arguments Value Examples
View source: R/data_dengue_fxns.R
subset.sql.mydata
selects ntps
time points from the entire data set starting
with the year and month or week selected by the user
1 2 3 |
years |
A vector of years |
year.start |
Start year for subseting data |
cadence |
String, the cadence of the data: month, week, day |
cadence.start |
Start month/week for subseting data |
ntps |
Length of subset data |
cases |
A data frame with year, month/week, ndays and cases information |
cases A data frame of length ntps starting with the requested month/week and year
1 | subset.mydata(year.start = 2010, cadence.start = 1, ntps = 12, cases = mydata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.