regions function

Extract the regions from a tidycpt object

Extract the regions from a tidycpt object

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

Returns

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

Examples

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