lasso_gam_loop {plsmselect} | R Documentation |
Internal Function
Description
Undocumented function. Do not use directly
Usage
lasso_gam_loop(
data,
response.name,
families,
formulae,
num.iter,
tolerance,
offset.name,
weights,
seed
)
Arguments
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. |
[Package plsmselect version 0.2.0 Index]