has.intercept: Indicates whether the formula contains an intercept

Description Usage Arguments Author(s)

View source: R/formula.data.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
has.intercept(object, ...)

## Default S3 method:
has.intercept(object, ...)

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

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

## S3 method for class '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

Author(s)

Yves Croissant


mlogit documentation built on Oct. 23, 2020, 5:29 p.m.