sensor_isEmpty {AirSensor}R Documentation

Test for an empty sensor object

Description

Convenience function for nrow(sensor$meta) == 0. This makes for more readable code in functions that need to test for this.

Usage

sensor_isEmpty(sensor)

Arguments

sensor

sensor object

Value

TRUE if no data exist in sensor, FALSE otherwise.

Examples

example_sensor <- pat_createAirSensor(example_pat)
sensor_isEmpty(example_sensor)


[Package AirSensor version 1.0.8 Index]