monitor_getDailyMean: Calculate daily means for a ws_monitor object

Description Usage Arguments Value Examples

View source: R/monitor_getDailyMean.R

Description

Calculates and returns daily means for a monitor. If either startdate or enddate is NULL, a single value is returned for that date.

Usage

1
2
3
4
5
6
monitor_getDailyMean(
  ws_monitor,
  monitorID = NULL,
  startdate = NULL,
  enddate = NULL
)

Arguments

ws_monitor

ws_monitor object

monitorID

monitor ID of interest

startdate

desired start date (integer or character in Ymd format or POSIXct)

enddate

desired end date (integer or character in Ymd format or POSIXct)

Value

A dataframe of daily means.

Examples

1
2
3
4
5
library(PWFSLSmoke)

monitor_getDailyMean(PWFSLSmoke::Carmel_Valley,
                     startdate = "2016-08-01",
                     enddate = "2016-08-08")

PWFSLSmoke documentation built on July 8, 2020, 7:19 p.m.