[R-meta] Issue with adding labels to funnel plot in metafor

Dylan Johnson dy|@nr@john@on @end|ng |rom m@||@utoronto@c@
Wed Dec 16 00:06:51 CET 2020


Thanks Wolfgang!



Dylan Johnson, MSc

MA Student, School and Clinical Child Psychology
Department of Applied Psychology and Human Development

University of Toronto
252 Bloor Street West

Toronto, ON M5S 1V6



From: Viechtbauer, Wolfgang (SP)<mailto:wolfgang.viechtbauer using maastrichtuniversity.nl>
Sent: December 15, 2020 5:18 PM
To: Dylan Johnson<mailto:dylanr.johnson using mail.utoronto.ca>; r-sig-meta-analysis using r-project.org<mailto:r-sig-meta-analysis using r-project.org>
Subject: RE: Issue with adding labels to funnel plot in metafor



EXTERNAL EMAIL:

Dear Dylan,

Install the 'devel' version:

https://wviechtb.github.io/metafor/#installation

Best,
Wolfgang

>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-project.org]
>On Behalf Of Dylan Johnson
>Sent: Tuesday, 15 December, 2020 22:54
>To: r-sig-meta-analysis using r-project.org
>Subject: [R-meta] Issue with adding labels to funnel plot in metafor
>
>Rma.mv model:
>m.overall <- rma.mv(HEDGE_G, HEDGE_VAR, random = list(~ 1 | EFFECT_ID, ~ 1 |
>COHORT_ID), intercept=TRUE, data=dataset, method = "REML",
>slab=paste(dataset$EFFECT_ID))
>
>Funnel plot:
>funnel(m.overall,xlab = "Hedges' g", label="out")
>
>I am receiving the following list of warning messages:
>1: In plot.window(...) : "label" is not a graphical parameter
>2: In plot.xy(xy, type, ...) : "label" is not a graphical parameter
>3: In axis(side = side, at = at, labels = labels, ...) :
>  "label" is not a graphical parameter
>4: In axis(side = side, at = at, labels = labels, ...) :
>  "label" is not a graphical parameter
>5: In box(...) : "label" is not a graphical parameter
>6: In title(...) : "label" is not a graphical parameter
>7: In rect(par.usr[1], par.usr[3], par.usr[2], par.usr[4],  ... :
>  "label" is not a graphical parameter
>8: In axis(side = 2, at = seq(from = ylim[1], to = ylim[2],  ... :
>  "label" is not a graphical parameter
>9: In int_abline(a = a, b = b, h = h, v = v, untf = untf,  ... :
>  "label" is not a graphical parameter
>10: In polygon(c(ci.left, ci.right[ci.res:1]), c(yi.vals,  ... :
>  "label" is not a graphical parameter
>11: In plot.xy(xy.coords(x, y), type = type, ...) :
>  "label" is not a graphical parameter
>12: In plot.xy(xy.coords(x, y), type = type, ...) :
>  "label" is not a graphical parameter
>13: In segments(refline, ylim[1], refline, ylim[2], ...) :
>  "label" is not a graphical parameter
>14: In plot.xy(xy.coords(x, y), type = type, ...) :
>  "label" is not a graphical parameter
>15: In axis(side = 1, at = at, labels = at.lab, ...) :
>  "label" is not a graphical parameter
>
>Any suggestions for how to proceed?
>
>Dylan Johnson, MSc
>
>MA Student, School and Clinical Child Psychology
>Department of Applied Psychology and Human Development
>
>University of Toronto
>252 Bloor Street West
>
>Toronto, ON M5S 1V6

	[[alternative HTML version deleted]]



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