plot.breakfast.cpts {breakfast}R Documentation

Change-points estimated by the "breakfast" routine

Description

Plot method for objects of class breakfast.cpts

Usage

## S3 method for class 'breakfast.cpts'
plot(x, display.data = TRUE, ...)

Arguments

x

a breakfast.cpts object

display.data

if display.data = TRUE, change-point estimators are plotted against the data by method. If display.data = FALSE, only the estimators are plotted; this option is recommended when length(x) is large.

...

current not in use

Examples

f <- rep(rep(c(0, 1), each = 50), 5)
x <- f + rnorm(length(f)) * .5
plot(breakfast(x, solution.path = 'all', model.selection = 'all'), display.data = TRUE)
plot(breakfast(x), display.data = FALSE)

[Package breakfast version 2.4 Index]