predict.cplm | R Documentation |
Change Point Linear Model Coefficients
## S3 method for class 'cplm' predict(object, newdata, fit = NULL)
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) |
x |
a 'cplm' object |
The coefficients from the change point linear model w/ specified fitting method.
data(rfm) mod <- cplm(eui ~ oat, data = rfm) coef(mod) coef(mod, "L1") coef(mod, "LS")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.