'How to change the reference level of a meta-regression in metafor?
I'm running a univariate metaregression with the package metafor using the following code:
resMeta <- rma(measure="IR",xi=xi, ti=ti, mods = ~ factor(pop)), data=metaAAS) resMeta confint(resMeta)
The levels of the moderator 'pop' are labelled as "0", "1", "2", and "3". The problem is that the function automatically defines the first level ("0") of the moderator 'pop' as the reference level.
How do I change the reference for level "3"?
Thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
