# NOT RUN {
# }
# NOT RUN {
base = iris
base[1, 1] = NA
# default: NAs removed
res = feols(Sepal.Length ~ Sepal.Width, base)
# no tolerance: estimation fails
res = feols(Sepal.Length ~ Sepal.Width, base, na_inf.rm = FALSE)
# to set no tolerance as default:
setFixest_na_inf.rm(FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab