Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extending Stargazer

I've long used apsrtable to quickly create model comparison tables, but I find it somewhat unattractive and clunky, so my dissertation tables were hand-coded tables with \Sexpr expressions. I was excited to find stargazer, but disappointed that some models I use aren't supported.

With apsrtable you can fairly easily extend a model by updating the apsrtableSummary and ModelInfo methods (as in this question/answer).

I've been looking (but haven't found) for a similar method to extend stargazer to the following models:

  1. lme
  2. mlogit
  3. spdep

Anyone have any experience with this/know of how to do it?

like image 795
gregmacfarlane Avatar asked Oct 20 '22 07:10

gregmacfarlane


1 Answers

This is an old question, I do not have a solution that will fit the critia given by OP. However the newest version of stargazer supports all of the models requested.

For refenrece see; https://cran.r-project.org/web/packages/stargazer/stargazer.pdf under the function "stargazer_models, page 13 and forward.

like image 160
Repmat Avatar answered Oct 23 '22 00:10

Repmat