plot_regions-methods: Methods for Function 'plot_regions'

plot_regions-methodsR 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 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).

Author(s)

Thomas Wieland


swash documentation built on April 12, 2025, 2:23 a.m.