View source: R/logistf.mod.control.R
logistf.mod.control | R Documentation |
logistf
Sets parameters for logistf
calls.
logistf.mod.control(tau = 0.5, terms.fit = NULL)
tau |
Penalization parameter (default = 0.5) |
terms.fit |
A numeric vector of terms to fit. Intercept has to be included if needed. |
tau |
Penalization parameter (default = 0.5) |
terms.fit |
A numeric vector of terms to fit. Intercept has to be included if needed. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.