powered by
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)
TRUE if no data exist in mts, FALSE otherwise.
TRUE
mts
FALSE
mts object
library(MazamaTimeSeries) mts_isEmpty(example_mts)
Run the code above in your browser using DataLab