View source: R/methods-stats.R
| residuals.trendfilter | R Documentation |
Get residuals from a "trendfilter" object.
## S3 method for class 'trendfilter'
residuals(object, ...)
object |
Object of class " |
... |
Additional named arguments. |
As of now, the additional named arguments that may be passed are:
lambdaOne or more lambda values to compute model residuals for.
By default, residuals are computed for every model in
object$lambda.
x_evalVector of inputs where the trend filtering model(s) will be
evaluated. By default, x_eval = object$x.
zero_tol(For experts) Threshold parameter that controls the point
at which a small coefficient value is set to zero. Defaults to
zero_tol = 1e-10.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.