print.breakfast.cpts {breakfast}R 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')

[Package breakfast version 2.2 Index]