mts_check | R Documentation |
Checks on the validity of an mts object. If any test fails, this function will stop with a warning message.
mts_check(mts)
mts |
mts object. |
Returns TRUE
invisibly if the mts object is valid.
mts_isValid
library(MazamaTimeSeries)
sts_check(example_mts)
# This would throw an error
if ( FALSE ) {
broken_mts <- example_mts
names(broken_mts) <- c('meta', 'bop')
sts_check(broken_mts)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.