figErrBars: Wrapper for standarized use of error bars

Description Usage Arguments Value Author(s) See Also Examples

Description

Wrapper function for standardized use of error bars with segments() with lab defaults for display

Usage

1
2
figErrBars(x, y, yplus, yminus, errbars.cap = NULL, 
       errbars.lwd = NULL, errbars.col = NULL)

Arguments

x,y, yplus, yminus

coordinate vectors of x and y points for error bars

errbars.cap

Width of caps on error bars. Accessed from options if NULL

errbars.lwd

Line width. Accessed from options if NULL

errbars.col

Line color. Accessed from options if NULL

Value

None

Author(s)

John J. Curtin jjcurtin@wisc.edu

See Also

lines(), figLabDefaults(), figSetDefaults(), figNewDevice(), figLines(),figPoints()

Examples

1
2
3
4
5
figNewDevice()
figPlotRegion(x=c(0,5), y=c(0,10))
figLines(c(0,10),c(0,10))
figAxis(side=1,lab.text='X-axis 1', scale.at=seq(from=0,to=10,by=2))
figAxis(side=2,lab.text='Startle Response', scale.at=seq(from=0,to=10,by=2))

lmSupport documentation built on May 2, 2019, 2:14 p.m.