Description Usage Arguments Value
View source: R/plotTimeSeries.R
Create a time series from a dataframe or output equivalent to that from getLUMAdata.
1 2 3 4 5 6 7 8 9 10 |
allData |
The data to plot in the form output by getLUMAdata(). |
tickBreaks |
How often ticks should appear on plots. e.g. 6 hours. See https://www.rdocumentation.org/packages/ggplot2/versions/1.0.0/topics/scale_x_datetime date_breaks for valid options. |
dateLabelFormat |
The format of date labels e.g. with Hour and Minute separated by : . See date_labels in link above for valid options. |
title |
The title of the plot. If not specified then a default will be generated based on information given. |
SAVEplot |
Boolean whether to save the plot. |
SAVEname |
The name of the plot if SAVEplot = TRUE |
SAVEpath |
The path to folder in which plot should be saved. Leave as null to save in current working directory. |
SAVEsize |
The size the save the image. This is a 3D vector consisting of h (height), w (width) and unit. See https://ggplot2.tidyverse.org/reference/ggsave.html for valid units. |
A time series for each variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.