plot_timeseries | R Documentation |
If by = NULL
plot_timeseries returns a ggplot object.
Otherwise it returns a list of ggplot objects.
plot_timeseries(
data,
by = NULL,
y0 = TRUE,
size = 1,
messages = getOption("wqbc.messages", default = TRUE)
)
data |
A data frame of the data to plot. |
by |
A character vector of the columns to plot the time series by. |
y0 |
A flag indicating whether to expand the y-axis limits to include 0. |
size |
A number of the point size. |
messages |
A flag indicating whether to print messages. |
plot_timeseries(ccme[ccme$Variable == "As",])
plot_timeseries(ccme, by = "Variable")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.