[R-meta] Regplot problem

John Tully John@Tu||y @end|ng |rom nott|ngh@m@@c@uk
Tue Sep 14 15:13:19 CEST 2021


Hi again all

this resolved with metafor update but a further problem has come up when I changed the variable for the metaregression

it now fails at X

results_list[['gray_matter']]
Xmetafor::regplot(results_list[['gray_matter']])

with error output:

Studies with NAs omitted from model fitting.NULL
Error in UseMethod("regplot") :
  no applicable method for 'regplot' applied to an object of class "NULL"


many thanks





________________________________
From: Viechtbauer, Wolfgang (SP) <wolfgang.viechtbauer using maastrichtuniversity.nl>
Sent: Tuesday, September 14, 2021 12:27 PM
To: John Tully <mszjt1 using exmail.nottingham.ac.uk>; r-sig-meta-analysis using r-project.org <r-sig-meta-analysis using r-project.org>
Cc: McCutcheon, Robert <robert.mccutcheon using kcl.ac.uk>
Subject: RE: Regplot problem

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 using r-project.org] On
>Behalf Of John Tully
>Sent: Tuesday, 14 September, 2021 13:10
>To: r-sig-meta-analysis using 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



This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please contact the sender and delete the email and
attachment. 

Any views or opinions expressed by the author of this email do not
necessarily reflect the views of the University of Nottingham. Email
communications with the University of Nottingham may be monitored 
where permitted by law.





	[[alternative HTML version deleted]]



More information about the R-sig-meta-analysis mailing list