Add and modify borders of a sripe (s) item of a forest plot object (fobj). Passed to abline.

s_borders(fobj, item = NULL, bordernr = NULL, ...)

Arguments

fobj

a forest plot object of class 'fobj'

item

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

bordernr

border to be modified, 1 (left) or 2 (right). If NULL (the default), all borders are affected.

...

options to be passed to abline

Value

a forest plot object of class 'fobj'

Examples


fobj<-genfobj(layout = c("t","t","t","t","t","s2","t","f","t"),
dat = forplotdata_prop,
lwidths = c(0.6,0.4,0.6,0.4,0.6,1.0,1.2,1,0.5))
fobj<-s_borders(fobj=fobj)
plotfobj(fobj)