Description Usage Arguments Value Examples
View source: R/average_measure.R
Create new data set comprising average daily counts for each different measure
of COVID19 in the USA.
1 | average_measure(data, measure)
|
data |
A data set to be summarised |
measure |
The variable to summarise the data on, can be as a character vector. Can be |
A summarised data set comprising 251 observations (one for each day) and 3 variables dependent on what measure
is chosen.
1 2 | average_measure(usa_covid_data, "tot_cases")
average_measure(usa_covid_data, "tot_death")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.