R/utils-mts.R
mts_isEmpty.Rd
Convenience function for nrow(mts$data) == 0. This makes for more readable code in functions that need to test for this.
nrow(mts$data) == 0
mts_isEmpty(mts)
mts object
TRUE if no data exist in mts, FALSE otherwise.
TRUE
mts
FALSE
library(MazamaTimeSeries) mts_isEmpty(example_mts) #> [1] FALSE