monitor_subsetBy: Subset ws_monitor Object with a Filter

Description Usage Arguments Value Examples

View source: R/monitor_subsetBy.R

Description

The incoming ws_monitor object is filtered according to filter. Either meta data or actual data can be filtered.

Usage

1
monitor_subsetBy(ws_monitor, filter)

Arguments

ws_monitor

ws_monitor object

filter

a filter to use on the ws_monitor object

Value

A ws_monitor object with a subset of the input ws_monitor object.

Examples

1
2
3
4
5
6
library(PWFSLSmoke)

N_M <- Northwest_Megafires
boise_tz <- monitor_subsetBy(N_M, timezone == 'America/Boise')
boise_tz_very_unhealthy <- monitor_subsetBy(boise_tz, data > AQI$breaks_24[5])
boise_tz_very_unhealthy$meta$siteName

PWFSLSmoke documentation built on Nov. 23, 2021, 5:06 p.m.