powered by
Convenience function for nrow(sts$data) == 0. This makes for more readable code in functions that need to test for this.
nrow(sts$data) == 0
sts_isEmpty(sts)
TRUE if no data exist in sts, FALSE otherwise.
TRUE
sts
FALSE
sts object
library(MazamaTimeSeries) sts_isEmpty(example_sts)
Run the code above in your browser using DataLab