Indicates whether the formula contains an intercept
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,...)
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