View source: R/foehnix_glmnet.R
| foehnix_glmnet | R Documentation |
The foehnix function allows to estimate
a regularized logistic regression model for the concomitants.
In case glmnet.control is provided the
EM algorithm uses this function to estimate the regression coefficients
of the concomitant model. glmnet.control allows
to specify options forwarded to glmnet::glmnet except
family ("binomial") and intercept (TRUE).
Depending on glmnet.control the AIC, BIC, or
log-likelihood criterion will be used.
foehnix_glmnet(y, x, arg)
y |
response vector (binary) |
x |
design matrix. If a column |
arg |
list of arguments forwarded to |
Returns an object of class ccmodel for foehnix
models.
Reto Stauffer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.