Indicates whether the formula contains an intercept
This is a generic which provide convenient methods for formula/Formula object and for specific fitted models
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, ...)
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 |
Yves Croissant
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.