I have been trying to run a fixed effect OLS regression using the package "fixest". There are supposed to be multiple regressions generated (per year) using "split = "year"". This seems to work without any errors but when I try to plot the regression reults using "esttable()" I receive an error:
--> Error in nchar(ROWNAMES) : 'nchar()' requires a character vector
rm(list=ls())
options(digits = 7, scipen = 999)
library(fixest)
library(wooldridge) # for Dataset
data(crime4)
m1 <- feols(crmrte ~ polpc | year, data = crime4, split = "year")
esttable(m1)
I tried to research the issue and follow the traceback, but don't understand the packages documentation on CRAN.