Description Usage Arguments Value
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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 'panelmodel'
has.intercept(object, ...)
## S3 method for class 'plm'
has.intercept(object, rhs = 1L, ...)
|
object |
a |
... |
further arguments. |
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 NULL for all parts of the right hand side
(relevant for the |
a logical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.