Extract the regions from a tidycpt object
regions.Rd
Extract the regions from a tidycpt object
Usage
regions(x, ...)
# S3 method for class 'mod_cpt'
regions(x, ...)
# S3 method for class 'tidycpt'
regions(x, ...)
Value
A base::factor()
of intervals indicating the region
Examples
cpt <- fit_meanshift_norm(CET, tau = 330)
regions(cpt)
#> [1] [1,330) [330,367)
#> Levels: [1,330) [330,367)