View source: R/plotTimeseries.R
plotTimeseries | R Documentation |
Plot simple timeseries of values
plotTimeseries(
x,
bin = "1hour",
column,
title = NULL,
units = NULL,
style = c("line", "heatmap"),
q = 0,
by = NULL,
cmap = viridis_pal()(25),
toTz = "UTC"
)
x |
a dataframe with column |
bin |
time bin for summarising data. The median of values within the same time bin will be plotted |
column |
the name of the column to plot |
title |
title for the plot, if left as default |
units |
name of units for plot labeling, default is taken from common soundscape units |
style |
one of |
q |
only valid for |
by |
only valid for |
cmap |
only valid for |
toTz |
timezone to use for the time axis (input data must be UTC). Specification must be from OlsonNames |
a ggplot object
Taiki Sakai taiki.sakai@noaa.gov
manta <- loadSoundscapeData(system.file('extdata/MANTAExampleSmall1.csv', package='PAMscapes'))
plotTimeseries(manta, bin='1minute', column='HMD_150')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.