mts_isEmpty {MazamaTimeSeries}R Documentation

Test for an empty mts object

Description

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

Usage

mts_isEmpty(mts)

Arguments

mts

mts object

Value

TRUE if no data exist in mts, FALSE otherwise.

Examples

library(MazamaTimeSeries)

mts_isEmpty(example_mts)


[Package MazamaTimeSeries version 0.3.0 Index]