Skip to content
Back to formatted view

Raw Message

Message-ID: <YTBPR01MB29587028A36D4ED5AB48E0BAA4C60@YTBPR01MB2958.CANPRD01.PROD.OUTLOOK.COM>
Date: 2020-12-15T23:06:51Z
From: Dylan Johnson
Subject: [R-meta] Issue with adding labels to funnel plot in metafor
In-Reply-To: <085464630de6449d91df7877a1be5f8b@UM-MAIL3213.unimaas.nl>

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 at maastrichtuniversity.nl>
Sent: December 15, 2020 5:18 PM
To: Dylan Johnson<mailto:dylanr.johnson at mail.utoronto.ca>; r-sig-meta-analysis at r-project.org<mailto:r-sig-meta-analysis at 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 at r-project.org]
>On Behalf Of Dylan Johnson
>Sent: Tuesday, 15 December, 2020 22:54
>To: r-sig-meta-analysis at 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]]