strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science

Home Page:https://strengejacke.github.io/sjPlot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question about tab_model

aexaa21 opened this issue · comments

Hello,

Many thanks for your help Daniel @strengejacke

I have a question about tab_model in Sjplot. Is there anyway I could get the actual coefficient value printed in R, and not the Odds Ratio or the Incidence Rate Ratios?

Many thanks in advance for your help,

Aziz

Hi, sorry one more thing,

if there is a function in tab_model that will get me the standard deviation of Random Effect variance, I would very much appreciate it.

Yes, use the argument transform = NULL to avoid transformation of estimates. Currently, sjPlot only returns random effects parameters as shown in these examples: https://strengejacke.github.io/sjPlot/articles/tab_mixed.html

If you want a result closer to the summary(), I suggest using the parameters package (which is internally used by sjPlot), see examples for parameters::model_parameters(). There are also ways to format the table (see here and here), or if you want more flexibility, you may look at the modelsummary package, an alternative to sjPlot, which also relies on the parameters package (and thus should cover a similar range of models).

Many thanks @strengejacke for your help and support. That was so helpful, and it is greatly appreciated.