plot_regions-methods {swash} | R Documentation |
Methods for Function plot_regions
Description
Methods for function plot_regions
Methods
signature(object = "sbm", col = "red", scale = FALSE, normalize_by_col = NULL, normalize_factor = 1)
-
Plots regional infection curves in
N
plots forN
regions, with the number of columns equals 4 and the number of rows is calculated based the size ofN
. Set the color by the argumentcol
. Ifscale
isTRUE
, 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 settingnormalize_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 argumentnormalize_by_col
(default: 1).
Author(s)
Thomas Wieland
[Package swash version 1.2.2 Index]