Learn R Programming

logistf (version 1.26.0)

logistf.mod.control: Controls additional parameters for logistf

Description

Sets parameters for logistf calls.

Usage

logistf.mod.control(tau = 0.5, terms.fit = NULL)

Value

tau

Penalization parameter (default = 0.5)

terms.fit

A numeric vector of terms to fit. Intercept has to be included if needed.

Arguments

tau

Penalization parameter (default = 0.5)

terms.fit

A numeric vector of terms to fit. Intercept has to be included if needed.

Examples

Run this code
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)

Run the code above in your browser using DataLab