View source: R/monitor_timeAverage.R
monitor_timeAverage | R Documentation |
This function extracts the data
dataframe from ws_monitor
object
and renames the 'datetime'
column so that it can be processed by the openair package's
timeAverage()
function. (See that function for details.)
monitor_timeAverage(ws_monitor, ...)
ws_monitor |
ws_monitor object |
... |
additional arguments to be passed to |
A ws_monitor object with data that have been proccessed by openair::timeAverage()
.
library(PWFSLSmoke)
C_V <- monitor_subset(Carmel_Valley, tlim=c(2016080800,2016081023),
timezone='America/Los_Angeles')
C_V_3hourly <- monitor_timeAverage(C_V, avg.time="3 hour")
head(C_V$data, n=15)
head(C_V_3hourly$data, n=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.