Learn R Programming

tidychangepoint (version 1.0.1)

regions: Extract the regions from a tidycpt object

Description

Extract the regions from a tidycpt object

Usage

regions(x, ...)

# S3 method for mod_cpt regions(x, ...)

# S3 method for tidycpt regions(x, ...)

Value

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

Arguments

x

An object that has regions

...

Currently ignored

Examples

Run this code

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

Run the code above in your browser using DataLab