Checks if an object is a tbl_mbte.

is_tbl_mbte(x)

Arguments

x

The object to check.

Details

Currently, a valid tbl_mbte must be a tibble, which also inherits from `tbl_mbte`. The attributes `time`, `value`, `signal` and `fits` have to be present and must be symbols.

See also

raw_signals (dataset used in examples)

Other tbl_mbte functions: mbte_reconstruct, new_tbl_mbte, tbl_mbte

Examples

data(raw_signals) # create new tbl_mbte tbl <- new_tbl_mbte(raw_signals, time = "t", value = "value")
is_tbl_mbte(tbl) # TRUE
#> [1] TRUE