remove_class: Remove a 'TSMP' class from an object

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Remove a TSMP class from an object

Usage

1

Arguments

x

a TSMP object

class

character string with the class name

Value

the object without the class

Examples

1
2
3
4
5
6
w <- 50
data <- mp_gait_data
mp <- tsmp(data, window_size = w, exclusion_zone = 1 / 4, verbose = 0)
mp <- find_chains(mp)
# Remove the "Chain" class information
mp <- remove_class(mp, "Chain")

franzbischoff/tsmp documentation built on March 9, 2020, 6:01 a.m.