has.intercept {plm} | R Documentation |
Check for the presence of an intercept in a formula or in a fitted model
Description
The presence of an intercept is checked using the formula which is either provided as the argument of the function or extracted from a fitted model.
Usage
has.intercept(object, ...)
## Default S3 method:
has.intercept(object, data = NULL, ...)
## S3 method for class 'formula'
has.intercept(object, data = NULL, ...)
## S3 method for class 'Formula'
has.intercept(object, rhs = NULL, data = NULL, ...)
## S3 method for class 'panelmodel'
has.intercept(object, ...)
## S3 method for class 'plm'
has.intercept(object, rhs = 1L, ...)
Arguments
object |
a |
... |
further arguments. |
data |
default is |
rhs |
an integer (length > 1 is possible), indicating the parts of right
hand sides of the formula to be evaluated for the presence of an
intercept or |
Value
a logical
[Package plm version 2.6-4 Index]