This is a strange question, but here goes:
I am trying to output my model results into a TeX table with texreg
.
reg <- zelig(Y ~ X, model = "tobit", below = 0, above = Inf)
However, I'm getting an error from texreg
:
texreg(reg)
Error in
.local(model, ...)
: Only the following Zelig models are currently supported: logit, ls, mlogit, ologit, probit, relogit.
My question is basically: is this an error from Zelig
or from texreg
?
UPDATE 2015-07-20:
extract.zelig
now has atobit
method (Zelig_4.2-1
)So
texreg(reg)
now works as expected. I'll leave the below for posterity anyway.Having identified the source of the issue, I updated the
extract.zelig
method and passed this along to the package creator/maintainer Philip Leifield, who incorporated into the latest R-Forge version (available viainstall.packages("texreg", repos="http://R-Forge.R-project.org")
). I'm not sure it's in the current CRAN release (2015-04-07)...Here's what we needed to add: