regions: Extract the regions from a tidycpt object

View source: R/aaa_generics.R

regionsR Documentation

Extract the regions from a tidycpt object

Description

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, ...)

Arguments

x

An object that has regions

...

Currently ignored

Value

A base::factor() of intervals indicating the region

Examples


cpt <- fit_meanshift_norm(CET, tau = 330)
regions(cpt)


tidychangepoint documentation built on April 4, 2025, 4:31 a.m.