lasso_gam_loop: Internal Function

Description Usage Arguments

View source: R/internal.R

Description

Undocumented function. Do not use directly

Usage

 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
)

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 family = "binomial"

families

List of two families as returned by find_family

formulae

List of formulae as returned by formula_setup

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. NULL (default) if not provided

weights

Vector with values of the weights variable if it exists. NULL otherwise.

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.


plsmselect documentation built on Dec. 1, 2019, 1:11 a.m.