Skip to contents

Passed to rect. With no argument, every second row is coloured using rgb(.1,.1,.1,.1). Options 'xright' and 'xleft' of rect are always set to the left and right end of the plotting region.

Usage

stripes(fobj, item = NULL, ...)

Arguments

fobj

a forest plot object of class 'fobj'

item

item to be modified, either a number with the position in layout or the name of the column in fobj$dat. If NULL (the default), all items are affected.

...

options to be passed to rect

Value

a forest plot object of class 'fobj'

Examples


fobj<-genfobj(layout = c("ttttttft"),
  dat = forplotdata,
lwidths = c(0.8,0.4,0.6,0.4,0.6,1,1,0.5))
fobj<-stripes(fobj = fobj)
plotfobj(fobj)