sts_isEmpty {MazamaTimeSeries} | R Documentation |
Test for empty sts object
Description
Convenience function for nrow(sts$data) == 0
.
This makes for more readable code in functions that need to test for this.
Usage
sts_isEmpty(sts)
Arguments
sts |
sts object |
Value
TRUE
if no data exist in sts
, FALSE
otherwise.
Examples
library(MazamaTimeSeries)
sts_isEmpty(example_sts)
[Package MazamaTimeSeries version 0.3.0 Index]