has.intercept: Indicates whether the formula contains an intercept

View source: R/formula.data.R

has.interceptR Documentation

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, ...)

## 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 June 10, 2025, 9:10 a.m.