assert_is_mts: Is the input a time series?
Description
Checks to see if the input is a time series.Usage
assert_is_mts(x)
assert_is_ts(x)
assert_is_tskernel(x)
is_mts(x, .xname = get_name_in_parent(x))
is_ts(x, .xname = get_name_in_parent(x))
is_tskernel(x, .xname = get_name_in_parent(x))
Arguments
.xname
Not intended to be used directly.
Value
is_ts
wraps is.ts
, providing more
information on failure. assert_is_ts
returns nothing but
throws an error if is_ts
returns FALSE
.