This function determines the scale of the y-axis for plot_epi.
find_scale(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)
#> [1] 1000