logistf.mod.control {logistf} | R Documentation |
Controls additional parameters for logistf
Description
Sets parameters for logistf
calls.
Usage
logistf.mod.control(tau = 0.5, terms.fit = NULL)
Arguments
tau |
Penalization parameter (default = 0.5) |
terms.fit |
A numeric vector of terms to fit. Intercept has to be included if needed. |
Value
tau |
Penalization parameter (default = 0.5) |
terms.fit |
A numeric vector of terms to fit. Intercept has to be included if needed. |
Examples
data(sexagg)
fit2<-logistf(case ~ age+oc+vic+vicl+vis+dia, data=sexagg, weights=COUNT,
modcontrol=logistf.mod.control(terms.fit=c(1,2)))
summary(fit2)
[Package logistf version 1.26.0 Index]