has.intercept | R Documentation |

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.

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

`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 |

a logical

plm documentation built on April 9, 2023, 5:06 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.