View source: R/sensor_filter.R
sensor_filter | R Documentation |
A generalized data filter for sensor objects to
choose rows/cases where conditions are true. Multiple conditions are
combined with &
or seperated by a comma. Only rows where the condition
evaluates to TRUE are kept.Rows where the condition evaluates to NA
are dropped.
sensor_filter(sensor = NULL, ...)
sensor |
An AirSensor object. |
... |
Logical predicates defined in terms of the variables in
|
A subset of the incoming sensor.
Filtering predicates are applied to the data
dataframe within
the sensor object.
sensor_filterDate
sensor_filterMeta
library(AirSensor)
teens <- sensor_filter(example_sensor,
example_sensor$data$`6f71a0c5f076deda_9392` < 20,
example_sensor$data$`6f71a0c5f076deda_9392` >= 10)
head(teens$data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.