felm_strict: Make felm slightly easier to use for someone who forgets to...

Description Usage Arguments Value Examples

View source: R/convenience.r

Description

Make felm slightly easier to use for someone who forgets to check things

Usage

1
felm_strict(formula, data, ..., dates_as_factor = TRUE, strict = TRUE)

Arguments

formula

A formula to estimate

data

Data to use

...

Passed to lfe::felm()

dates_as_factor

Should dates be converted to factors before running felm? (Default true)

strict

Should felm's warnings be treated as errors? Default true.

Value

The result from felm()

Examples

1
2
3
4
5
6
if (requireNamespace("lfe", quietly=TRUE)) {
  felm_strict(cyl ~ wt, mtcars)
}

NOTE: this function is soft-deprecated and will be removed sometime in the
future. Use the `fixest` package instead.

karldw/kdw.junk documentation built on Sept. 8, 2021, 9:30 p.m.