Remove class csfmt_rts_data_*
Value
x, modified by reference, invisibly. It returns x rather than nothing, which is what lets it sit in the middle of a pipe.
See also
Two vignettes run this function inside a pipe:
vignette("cstidy", package = "cstidy") and
vignette("csfmt_rts_data_v2", package = "cstidy").
Other csfmt_rts_data:
expand_time_to(),
identify_data_structure(),
set_csfmt_rts_data_v1(),
set_csfmt_rts_data_v2(),
set_csfmt_rts_data_v3(),
unique_time_series()
Examples
x <- cstidy::generate_test_data() %>%
cstidy::set_csfmt_rts_data_v2()
class(x)
#> [1] "csfmt_rts_data_v2" "data.table" "data.frame"
cstidy::remove_class_csfmt_rts_data(x)
class(x)
#> [1] "data.table" "data.frame"
