plot_regions-methods | R Documentation |
plot_regions
Methods for function plot_regions
signature(object = "sbm", col = "red", scale = FALSE, normalize_by_col = NULL, normalize_factor = 1)
Plots regional infection curves in N
plots for N
regions, with the number of columns equals 4 and the number of rows is calculated based the size of N
. Set the color by the argument col
. If scale
is TRUE
, the y axis of the plots is set uniformly based on the maximum value across all regions. If the input data contains a column to normalize the infection numbers (such as regional population), the user may use this data to normalize the infection numbers by setting normalize_by_col
. If this density value should be multiplied by a factor (e.g. regional infections per 100,000 inhabitants), this can be set with the argument normalize_by_col
(default: 1).
Thomas Wieland
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.