View source: R/assertOptions__tidy_Data.R
assertOptions__tidy_Data | R Documentation |
Checks if inputs to tidy_Data are appropriate.
assertOptions__tidy_Data( tidy, DaysOld, minimumpercapitaactivecases, RiskEval, dropNACountry, dropNAall )
tidy |
If TRUE, then perform tidying according to other parameters. If FALSE, then do nothing. (passed to tidy_Data). |
DaysOld |
Set any pInf data more than this days old to NA.(passed to tidy_Data). |
minimumpercapitaactivecases |
Set any pInf data less than this to NA.(passed to tidy_Data). |
RiskEval |
Set pInf to NA when risk is below RiskEval$minimumRisk (%) using RiskEval$ascertainmentbias and a maximum group size, RiskEval$maximumN (Note: this setting overwrites minimumpercapitaactivecases). (passed to tidy_Data). |
dropNACountry |
If TRUE, remove rows for countries whose pInf estimates all return NA.(passed to tidy_Data). |
dropNAall |
If TRUE, remove rows for any region whose pInf estimates all return NA. (passed to tidy_Data). |
nothing.
assertOptions__tidy_Data(TRUE, 30, 0, NULL, TRUE, FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.