Description Usage Arguments Value
plot 95
1 2 | plot_country_time_series(output, country_name, y_label, thin_every = 0,
thin_integer = FALSE, thin_by_sum = FALSE)
|
output |
list of n matrices, where n is the number of runs. Each row in each matrix corresponds to a country and each column to a time. the rownames of the matrices are the country names. |
country_name |
name of country for which to plot time series, or "all" to sum across all countries |
y_label |
string. y-axis label |
thin_every |
an integer. If 0, ignore. Otherwise, thin each matrix every this many columns |
thin_integer |
a logical. If TRUE, thin each matrix to integer values of times. If FALSE, ignore |
thin_by_sum |
logical. IF TRUE, thin by adding together columns (e.g. if thin_every = 2, add togeher columns 1-2, columns 3-4 etc.) This is useful for thinning quantities such as incidence. If FALSE, ignore. |
ggplot object with 95
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.