Get residuals from a 'trendfilter
' object.
# S3 method for trendfilter residuals(obj, lambda = NULL, x_eval = NULL, zero_tol = NULL, ...)
obj | Object of class |
---|---|
lambda | One or more lambda values to compute residuals for. Defaults to
|
x_eval | Vector of inputs where the trend filtering model(s) will be evaluated.
Defaults to |
zero_tol | Threshold parameter that controls the point at which a small coefficient
value is set to zero. Defaults to |
... | Additional named arguments. Currently unused. |