View source: R/fortify_changepoint.R
autoplot.cpt | R Documentation |
changepoint::cpt
Autoplot changepoint::cpt
## S3 method for class 'cpt'
autoplot(
object,
is.date = NULL,
cpt.colour = "#FF0000",
cpt.linetype = "dashed",
...
)
object |
|
is.date |
Logical frag indicates whether the |
cpt.colour |
Line colour for changepoints |
cpt.linetype |
Line type for changepoints |
... |
other arguments passed |
ggplot
## Not run:
library(changepoint)
autoplot(cpt.mean(AirPassengers))
autoplot(cpt.meanvar(AirPassengers))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.