View source: R/functions-server.R
find_scale | R Documentation |
This function determines the scale of the y-axis for plot_epi.
find_scale(x)
x |
The maximum value found in the model state counts |
An integer representing the scale for the y-axis. A max counts value of 10000 will return a scale of 1, 100000 will return a scale of 1000, 1000000 will return a scale of 10000.
Other Server side functions:
plot_epi()
,
plot_reproductive_epi()
,
pop_generator()
find_scale(100000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.