- y
a numeric vector containing the observations, only finite values are allowed
- bandwidth
a single positive value specifying the bandwidth for the kernel smoother; must be between 1 / length(n) and 0.25 or Inf, smaller values are replaced by 1 / n and larger by Inf with a warning; see F. Pein (2021) for an interpretation of bandwidth == Inf
- lambda
a single positive numeric or a decreasing sequence of positive numeric values giving the penalty for the fused lasso. If a sequence is passed, then only the smallest value is used to compute the estimator. However, passing a sequence of lambda values is often much faster than passing a single value
- sd
a single positive value giving the standard deviation of the observations; may be NULL, in which case a robust estimator is used
- nlambda
a single positive integer specifying the number of lambda values to pass to the lasso; only used if lambda is a single value, in which case an exponentially decreasing sequence is generated, with lambda being the smallest value. As explained for lambda, only this value is used for the estimator, but adding other values may reduce the run time
- thresh
a single positive numeric value giving a convergence threshold for coordinate descent. Each inner coordinate-descent loop continues until the maximum change in the objective after any coefficient update is less than thresh times the null deviance
- maxit
a single positive integer giving the maximum number of passes over the data for all lambda values