Description Usage Arguments Value Examples
Create Data Scales (used for incidence, prevalence, and deaths data)
1 | get_scale(x, limit = 500)
|
x |
Data column to use to calculate scale - should be "incidence", "prevalence", or "deaths" |
limit |
Numeric limit - scales will be created to keep max values under this limit |
Base 10 scale calculated from max value and target limit (to use as denominator)
1 2 3 4 | ## Not run:
get_scale(sites$incidence)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.