meta.colors {rmeta}R Documentation

Control colours in meta-analysis plot

Description

Wrapper function for specifying colours to meta-analysis plots

Usage

meta.colors(all.elements, box="black", lines="gray", summary="black", zero="lightgray", mirror="lightblue",text="black")

Arguments

all.elements if present, overrides other arguments
box Colour of sample size box
lines Colour of confidence intervals
summary Colour of summary estimate
zero Colour of null hypothesis line
mirror Colour of reflected points (in funnelplot)
text Colour of labels

Value

a list of colors

See Also

plot.meta.MH,plot.meta.DSL,plot.meta.summaries,funnelplot,metaplot

Examples

data(cochrane)
steroid<-meta.MH(n.trt,n.ctrl,ev.trt,ev.ctrl,names=name,data=cochrane)
plot(steroid,col=meta.colors("RoyalBlue"))
data(catheter)
e<-meta.DSL(n.trt,n.ctrl,inf.trt,inf.ctrl,data=catheter,names=Name,subset=c(13,6,3,12,4,11,1,14,8,10,2))
# Angry fruit salad color scheme
plot(e,colors=meta.colors(summary="green",lines="purple",box="orange"))