Get predictions from a 'trendfilter
' object.
# S3 method for trendfilter predict(obj, lambda = NULL, x_eval = NULL, zero_tol = 1e-10, ...)
obj | An object of class/subclass ' |
---|---|
lambda | One or more lambda values to evaluate predictions 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. |