Description Usage Arguments Value Note
Generate a (gg)plot of a GeoTimeseries object.
1 2 3 |
x |
a GeoTimeseries object. |
y |
(string) name of the metric to plot. If omitted, plots the first metric in the object by default. |
by |
(string) group by which column? Default is 'geo'. |
subset |
(vector) subset of the items in column 'by' to use. |
aggregate |
(flag) aggregate over? |
title |
(string) a title string. By default, the name of the metric to plot. |
log.scale |
(flag) plot y-axis on log scale? |
legend |
(flag) plot the legend? |
... |
ignored. |
A ggplot object.
Sets the lower y-axis limit to zero if all 'y' values are nonnegative
and log.scale=FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.