spar_glmnet {spareg}R Documentation

Penalized GLM marginal models

Description

Creates an object class 'sparmodel' using arguments passed by user.

Usage

spar_glmnet(..., control = list())

Arguments

...

includes arguments which can be passed as attributes to the 'sparmodel' object

control

list of controls to be passed to the model function

Details

Relies on glmnet.

Value

object of class 'sparmodel' which is a list with elements


[Package spareg version 1.1.0 Index]