0

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
    Can you share your `texreg::extract()` code? – Josh Gray MD Dec 06 '21 at 19:54
  • You need to show the code that generated the output. – Geraldine Dec 13 '21 at 16:03
  • 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) – Sharareh Ghanbari Azar Dec 15 '21 at 12:38

1 Answers1

1

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.

Josh Gray MD
  • 269
  • 1
  • 7