View source: R/calc_riskmatrix.R
calc_add_risk | R Documentation |
Calculate epi stats a generalized df input.
calc_add_risk(df)
df |
Dataframe with id, date, new_cases, new_deaths, cumulative_cases, cumulative_deaths, AND population. |
## Not run:
df <- onetable %>%
right_join(get_covid_df(), by = c("iso2code")) %>%
filter(!(country == "China" & source == "WHO"))
calc_add_risk(df)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.