by user8460166
Last Updated January 19, 2018 06:26 AM

I am learning meta-analysis in `metafor`

and would like to plot estimated learning gain nicely.

From my previous question (How can I plot fitted models with observations when dealing with the ANOVA type of research design in R? : thanks a lot to @Axeman!), I learned how to plot `lm()`

's results nicely.

```
require(emmeans)
warp.lm <- lm(breaks ~ wool : tension -1, data = warpbreaks)
warp.emm <- emmeans(warp.lm, ~ tension | wool)
ggplot(summary(warp.emm),
aes(wool, emmean, col = tension, ymin = lower.CL, ymax= upper.CL))+
geom_pointrange(position = position_dodge(0.2), size = 1)
```

Now I would like to know how to do the same when using the `metafor`

package. But, I found out that I cannot use `emmeans()`

to `rma()`

.

```
require(metafor)
vi =0
warp.rma <- rma(breaks, vi, mods =~ wool : tension -1, data = warpbreaks)
summary (warp.rma)
```

I would really appreciate your help!

- ServerfaultXchanger
- SuperuserXchanger
- UbuntuXchanger
- WebappsXchanger
- WebmastersXchanger
- ProgrammersXchanger
- DbaXchanger
- DrupalXchanger
- WordpressXchanger
- MagentoXchanger
- JoomlaXchanger
- AndroidXchanger
- AppleXchanger
- GameXchanger
- GamingXchanger
- BlenderXchanger
- UxXchanger
- CookingXchanger
- PhotoXchanger
- StatsXchanger
- MathXchanger
- DiyXchanger
- GisXchanger
- TexXchanger
- MetaXchanger
- ElectronicsXchanger
- StackoverflowXchanger
- BitcoinXchanger
- EthereumXcanger