is_tbl_mbte: Checks if an object is a 'tbl_mbte'.

Description Usage Arguments Details See Also Examples

View source: R/tbl_mbte.R

Description

Checks if an object is a tbl_mbte.

Usage

1

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

1
2
3
4
5
6
7
data(raw_signals)

# create new tbl_mbte
tbl <- new_tbl_mbte(raw_signals, time = "t", value = "value")


is_tbl_mbte(tbl) # TRUE

mkerschbaumer/mbte documentation built on May 5, 2019, 11:01 p.m.