plotErrorBarsLines: Utility for clustering plots to plot lines and an overall...

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
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

1
2
3
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")

SwathXtend documentation built on Nov. 8, 2020, 6:42 p.m.