[R-meta] Extracting information from model
Tina Dudenhöffer
t|n@@dudenhoe||er @end|ng |rom gm@||@com
Mon Nov 4 22:07:22 CET 2019
Hi Wolfgang,
I was indeed asking about ‘metaphor’.
And right, ‘res’ works of course!
Thank you,
Tina
> On Nov 4, 2019, at 9:57 PM, Wolfgang Viechtbauer <wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:
>
> Hi Tina,
>
> Since you have asked some questions about 'metafor' in the past, I assume this is also what you are asking about now. You can obtain the Q/QE-test statistic from an object, say 'res', with:
>
> res$QE
>
> and the corresponding p-value with:
>
> res$QEp
>
> More generally, to see what kind of information is stored in such an object, see:
>
> https://wviechtb.github.io/metafor/reference/rma.uni.html#value
> https://wviechtb.github.io/metafor/reference/rma.mv.html#value
>
> for rma() / rma.uni() and rma.mv(), respectively.
>
> Best,
> Wolfgang
>
>> Hi all,
>>
>> I am trying to extract some information from my models such as the Q-Statistic and its p-value or the QE etc. I found the coef <https://rdrr.io/r/stats/coef.html>(summary <https://rdrr.io/r/base/summary.html>(res)) function but that only lets me extract the estimate, se, zval, pal and ci.lb/ci.ub
>>
>> Is it possible to extract any other information? The purpose would be to save it in another document, so I don’t have to manually copy/paste everything.
>>
>> Thanks for your help,
>>
>> Tina
More information about the R-sig-meta-analysis
mailing list