Skip to content
Back to formatted view

Raw Message

Message-ID: <5fe0e6a97c8f466b89bc811c85c40ba8@UM-MAIL3214.unimaas.nl>
Date: 2021-09-14T11:27:01Z
From: Wolfgang Viechtbauer
Subject: [R-meta] Regplot problem
In-Reply-To: <AS8PR06MB76402E14A0D321CD5739B3FE92DA9@AS8PR06MB7640.eurprd06.prod.outlook.com>

Ho John,

Which version of metafor do you have installed? regplot() was added in version 3.0-2.

Best,
Wolfgang

>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On
>Behalf Of John Tully
>Sent: Tuesday, 14 September, 2021 13:10
>To: r-sig-meta-analysis at r-project.org
>Cc: McCutcheon, Robert
>Subject: [R-meta] Regplot problem
>
>?Hi all
>
>I am getting the following error when trying to run a metaregression in R using
>
>can you advise?
>
>thanks
>
>John
>
>'regplot' is not an exported object from 'namespace:metafor'
>
>I do get the output below, before the error shows
>
>Mixed-Effects Model (k = 6; tau^2 estimator: REML)
>
>tau^2 (estimated amount of residual heterogeneity):     0 (SE = 0.0617)
>tau (square root of estimated tau^2 value):             0
>I^2 (residual heterogeneity / unaccounted variability): 0.00%
>H^2 (unaccounted variability / sampling variability):   1.00
>R^2 (amount of heterogeneity accounted for):            0.00%
>
>Test for Residual Heterogeneity:
>QE(df = 4) = 2.7057, p-val = 0.6082
>
>Test of Moderators (coefficient 2):
>QM(df = 1) = 1.1661, p-val = 0.2802
>
>Model Results:
>
>         estimate      se     zval    pval    ci.lb   ci.ub
>intrcpt    1.5938  1.8422   0.8651  0.3870  -2.0169  5.2045
>mods      -1.8265  1.6914  -1.0799  0.2802  -5.1415  1.4886
>
>---
>Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1