Undocumented function. Do not use directly
1 2 3 4 5 6 7 8 9 10 11 | lasso_gam_loop(
data,
response.name,
families,
formulae,
num.iter,
tolerance,
offset.name,
weights,
seed
)
|
data |
The data with value for all the linear and smooth predictors |
response.name |
The name of the response variable. Vector of two if
|
families |
List of two families as returned by |
formulae |
List of formulae as returned by |
num.iter |
Number of iterations for the gamlasso loop |
tolerance |
Tolerance for covergence of the gamlasso loop |
offset.name |
The name of the offset variable. |
weights |
Vector with values of the weights variable if it exists.
|
seed |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.