Arguments
object
object of class "genlasso", or an object which inherits this class
(i.e., "fusedlasso", "trendfilter").
lambda
a numeric vector of tuning parameter values at which coefficients
should be calculated. The user can choose to specify one of
lambda, nlam, or df; if none are specified,
then coefficients are returned at
nlam
an integer indicating a number of tuning parameters values at which
coefficients should be calculated. The tuning parameter values are
then chosen to be equally spaced on the log scale over the first
half of the solution path (this is if the f
df
an integer vector of degrees of freedom values at which coefficients
should be calculated. In the case that a single degrees of freedom
value appears multiple times throughout the solution path, the least
regularized solution (corresponding t
Xnew
a numeric matrix X, containing new predictor measurements at which
predictions should be made. If missing, it is assumed to be
the same as the existing predictor measurements in object.
...
additional arguments passed to predict.