Description Usage Arguments Value See Also Examples
View source: R/is-type-stats.R
Checks to see if the input is a time series.
| 1 2 3 4 5 6 7 8 9 10 11 | assert_is_mts(x, severity = getOption("assertive.severity", "stop"))
assert_is_ts(x, severity = getOption("assertive.severity", "stop"))
assert_is_tskernel(x, severity = getOption("assertive.severity", "stop"))
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))
 | 
| x | Input to check. | 
| severity | How severe should the consequences of the assertion be?
Either  | 
| .xname | Not intended to be used directly. | 
is_ts wraps is.ts, providing more 
information on failure.  assert_is_ts returns nothing but
throws an error if is_ts returns FALSE.
| 1 | assert_is_ts(ts(1:10))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.