Description Usage Arguments Value

Auxiliary function that takes in a two-sided formula, and extracts the variable names of either the covariates or instruments. The function returns an error if the formula includes a variable called 'intercept'.

1 |

`fm` |
the formula. |

`inst` |
boolean expression, set to TRUE if the instrument names are to be extracted. Otherwise, the covariate names are extracted. |

`terms` |
boolean expression, set to TRUE if the terms in the
formula |

`components` |
boolean expression, set to FALSE by default. Indicates that the formula being considered is constructed from a list of components, and thus the term 'intercept' is permitted. |

vector of variable names.

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.