plotErrorBarsLines {SwathXtend}R Documentation

Utility for clustering plots to plot lines and an overall trend

Description

Prints faint lines for each profile, and a mean/error bars

Usage

plotErrorBarsLines(v, barSizes, lines, labels = NULL, col = "blue", ylim, ...)

Arguments

v

Overall trend, to be printed solid, length n

barSizes

Size of the error bars, length n

lines

Matrix of n columns, and as many rows as lines

labels

Labels to be printed on the x axis, length n

col

Colour for main trend line

ylim

Can specfy limits so several graphs are on the same scale

...

Additional parameters to pass in

Value

No returned value; plot only.

See Also

help, ~~~

Examples

mat = matrix(rnorm(100), 10)
plotErrorBarsLines(apply(mat,1,FUN=mean), apply(mat,1,FUN=sd), 
	lines=mat, col="red", main="A random plot", xlab="Some label")



[Package SwathXtend version 2.10.0 Index]