print.breakfast.cpts: Change-points estimated by breakfast

View source: R/tools.R

print.breakfast.cptsR Documentation

Change-points estimated by breakfast

Description

Print method for objects of class breakfast.cpts

Usage

## S3 method for class 'breakfast.cpts'
print(x, by = c("method", "estimator"), ...)

Arguments

x

a breakfast.cpts object

by

if by = 'method', change-point estimators are printed by method; if by = 'estimator', each change-point estimator is printed with the methods that detect it.

...

current not in use

Examples

f <- rep(rep(c(0, 1), each = 50), 5)
x <- f + rnorm(length(f)) * .5
print(breakfast(x, solution.path = 'all', model.selection = 'all'), by = 'method')
print(breakfast(x), by = 'estimator')

breakfast documentation built on Oct. 18, 2022, 5:08 p.m.