Re: [R] package metafor: error when setting 'col' and 'at' for a forest plot

2013-01-07 Thread Viechtbauer Wolfgang (STAT)
: Re: [R] package metafor: error when setting 'col' and 'at' for a forest plot Good suggestion, and yes, the given examples work. Using a modification of one of the supplied examples, where in the final line I only added the parameter col=c(1,2,3): data(dat.bcg) dat - escalc(measure=RR, ai

Re: [R] package metafor: error when setting 'col' and 'at' for a forest plot

2013-01-07 Thread Brian Z Ring
-Original Message- From: Viechtbauer Wolfgang (STAT) [mailto:wolfgang.viechtba...@maastrichtuniversity.nl] Sent: Monday, January 07, 2013 6:16 PM To: Brian Z Ring; 'David Winsemius'; r-help@r-project.org Subject: RE: [R] package metafor: error when setting 'col' and 'at' for a forest plot

[R] package metafor: error when setting 'col' and 'at' for a forest plot

2013-01-05 Thread Brian Z Ring
I am using metafor to create forest plots. This code gives me the expected plot (setting x axis tick marks): forest(forest$OR, ci.lb=forest$Low, ci.ub=forest$High, at=log(c(.05, .25, 1, 10)), slab=forest$SNP, atransf=exp) As does this (setting colors): forest(forest$OR, ci.lb=forest$Low,

Re: [R] package metafor: error when setting 'col' and 'at' for a forest plot

2013-01-05 Thread David Winsemius
On Jan 4, 2013, at 9:13 PM, Brian Z Ring wrote: I am using metafor to create forest plots. This code gives me the expected plot (setting x axis tick marks): forest(forest$OR, ci.lb=forest$Low, ci.ub=forest$High, at=log(c(. 05, .25, 1, 10)), slab=forest$SNP, atransf=exp) As does this

Re: [R] package metafor: error when setting 'col' and 'at' for a forest plot

2013-01-05 Thread Brian Z Ring
0.410.59 -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Sunday, January 06, 2013 2:31 AM To: Brian Z Ring Cc: r-help@r-project.org Subject: Re: [R] package metafor: error when setting 'col' and 'at' for a forest plot On Jan 4, 2013, at 9:13 PM