mlogit (version 1.1-0)

has.intercept: Indicates whether the formula contains an intercept

Description

This is a generic which provide convenient methods for formula/Formula object and for specific fitted models

Usage

has.intercept(object, ...)

# S3 method for default has.intercept(object, ...)

# S3 method for formula has.intercept(object, ...)

# S3 method for Formula has.intercept(object, rhs = NULL, ...)

# S3 method for mlogit has.intercept(object, ...)

Arguments

object

the object

...

further arguments

rhs

for the Formula method the rhs for which one wants to know if there is an intercept may be specified