plot.cplm | R Documentation |
Plot Change Point Linear Model
## S3 method for class 'cplm' plot(x, fit = NULL)
x |
a 'cplm' object |
fit |
an optional specification of coefficient type "LS" or "L1". If not specified returns the best-guess as to which is more appropriate. (The presence of outlying bills trips the standard output to the penalized "L1" fit.) Additionally specifying "both" here will overlay both fits. |
A ggplot object
residsPlot
to plot residuals (this is the fun part
anyway - looking at trends net of weather)
data(rfm) mod <- cplm(eui ~ oat, data = rfm) plot(mod) plot(mod, "both")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.