autoplot.breakpoint: Display Regression Line and Observations

View source: R/breakpoint.R

autoplot.breakpointR Documentation

Display Regression Line and Observations

Description

Display regression line and observations.

Usage

## S3 method for class 'breakpoint'
autoplot(
  object,
  newdata = NULL,
  pattern = NULL,
  plot = TRUE,
  combine.plot = TRUE,
  nrow = NULL,
  ncol = NULL,
  title = NULL,
  text.size = 10,
  add.cv.title = TRUE,
  add.bic.title = FALSE,
  ...
)

Arguments

object

output of breakpoint

newdata

[data.frame/data.table] datapoint at which the fit should be display.

pattern

[vector of character] the number and type of breakpoints to be display.

plot

[logical] should the plot be displayed in a window?

combine.plot

[logical] should the plots for the different patterns be combined into one.

nrow

[integer, >0] number of rows used when combining the plots.

ncol

[integer, >0] number of columns used when combining the plots.

title

[character] the title of the combined plot.

text.size

[numeric, >0] the size of the text in the plot.

add.cv.title

[logical] should the convergence status of the estimation algorithm be displayed in the title of the plot.

add.bic.title

[logical] should the bic of the model be displayed in the title of the plot.

...

not used. For compatibility with the generic function.


bozenne/butils documentation built on Oct. 14, 2023, 6:19 a.m.