lassoModel {lassogrp} | R Documentation |
Generate generalized linear model objects to be used for the (group)
lasso algorithm, lasso()
.
lassoModel(invlink, link, nloglik, ngradient, nhessian, check, name = "user-specified", comment = "user-specified") LogReg() LinReg() PoissReg()
invlink |
a function with argument |
link |
a function with argument |
nloglik |
a function with arguments |
ngradient |
a function with arguments |
nhessian |
a function with arguments |
check |
a function with argument |
name |
a character name |
comment |
a character comment |
An object of class lassoModel
.
LogReg() # Logistic PoissReg()# Poisson regression str(LogReg())