Undocumented function. Do not use directly
lasso_gam_loop(
data,
response.name,
families,
formulae,
num.iter,
tolerance,
offset.name,
weights,
seed
)The data with value for all the linear and smooth predictors
The name of the response variable. Vector of two if
family = "binomial"
List of two families as returned by find_family
List of formulae as returned by formula_setup
Number of iterations for the gamlasso loop
Tolerance for covergence of the gamlasso loop
The name of the offset variable. NULL (default) if not provided
Vector with values of the weights variable if it exists.
NULL otherwise.
The random seed can be specified for reproducibility. This is used for fitting the gam and lasso models, or fixed before each loop of gamlasso.