I'm estimating a fixed-effects logit model using the bife package in R. I need to estimate the marginal effects of the estimation and export them to latex. However, the package that supports bife estimation, texreg, doesn't allow to export objects of class "bifeAPEs". Is there any solution to this?
Here's a reproducible example:
#Require packages
packages<-c("bife", "texreg")
lapply(packages, require, character.only = TRUE)
#Dataset
data("iris")
iris$big <- ifelse(iris$Sepal.Length > median(iris$Sepal.Length),1,0)
#Model
output <- bife(big ~ Sepal.Width + Petal.Length | Species, data=iris, "logit")
#Output
apes_stat <- get_APEs(output)
class(apes_stat)
extract(output)
extract(apes_stat)