Texreg is not showing me Rsquare and adjusted Rsquare

83 views Asked by At

I have a model:

mixed.lmer.str.df <- lmer(StroopEffort ~ Temperature + RH + sex + (1|Participant) + (1|order), data = df)

And I am using LmerTest. The summary is as follow:

Summary I want to export it to Latex, The problem is that unlike what I can see on different examples, and even when I make all arguments "True", still it is not showing, conditional and adjusted Rsquare, although I can see them when I use Tab_Model.

the code:

mixed.lmer.str.df <- lmer(StroopEffort ~ Temperature + RH + sex +(1|Participant)+ (1|order), data = df)

summary(mixed.lmer.str.df)

tab_model(mixed.lmer.str.df)

texreg(mixed.lmer.str.df,booktabs = TRUE, include.aic = TRUE, include.bic = TRUE, include.dic = TRUE ,include.deviance = TRUE, include.loglik = TRUE,include.nobs = TRUE,include.groups = TRUE,include.variance = TRUE)

texreg output

Could you please advise what is the problem?

1

There are 1 answers

1
Josh Gray On

See texreg's implementation of extract.lme4() here.

The implementation does not handle an include.rsquared argument so the reason you are likely not seeing a change in the output is that it is silently ignoring that argument.