powered by
Generates models to be used for the group lasso algorithm.
grpl.model(invlink, link, nloglik, ngradient, nhessian, check, name = "user-specified", comment = "user-specified") LogReg() LinReg() PoissReg()
a function with arguments eta implementing the inverse link function.
eta
a function with arguments mu implementing the link function.
mu
a function with arguments y, mu and weights implementing the negative log-likelihood function.
y
weights
a function with arguments x, y, mu and weights implementing the negative gradient of the log-likelihood function.
x
a function with arguments x, mu and weights implementing the negative hessian of the log-likelihood function.
a function with argument y to check whether the response has the correct format.
a character name
a character comment
An object of class grpl.model.
grpl.model
# NOT RUN { LogReg() # }
Run the code above in your browser using DataLab