print.breakfast.cpts: Change-points estimated by the "breakfast" routine
Description
Print method for objects of class breakfast.cpts
Usage
# S3 method for 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.
f <- rep(rep(c(0, 1), each = 50), 5)
x <- f + rnorm(length(f)) * .5print(breakfast(x, solution.path = 'all', model.selection = 'all'), by = 'method')
print(breakfast(x), by = 'estimator')