autoplot.cpt: Autoplot 'changepoint::cpt'

Description Usage Arguments Value Examples

Description

Autoplot changepoint::cpt

Usage

1
2
3
## S3 method for class 'cpt'
autoplot(object, is.date = NULL, cpt.colour = "#FF0000",
  cpt.linetype = "dashed", ...)

Arguments

object

changepoint::cpt instance

is.date

Logical frag indicates whether the stats::ts is date or not. If not provided, regard the input as date when the frequency is 4 or 12.

cpt.colour

Line colour for changepoints

cpt.linetype

Line type for changepoints

...

other arguments passed autoplot.ts

Value

ggplot

Examples

1
2
3
library(changepoint)
autoplot(cpt.mean(AirPassengers))
autoplot(cpt.meanvar(AirPassengers))


Search within the ggfortify package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.