plotXYCurve.matrix {aroma.light}R Documentation

Plot the relationship between two variables as a smooth curve

Description

Plot the relationship between two variables as a smooth curve.

Usage

## S3 method for class 'matrix':
plotXYCurve(X, Y, col=1:nrow(X), lwd=NULL, xlim=NULL, ylim=xlim, xlab=NULL, ylab=NULL, ..., add=FALSE)

Arguments

X, Y Two numeric NxK matrix.
col A vector of colors to be used for each of columns.
lwd A vector of line widths to be used for each of columns.
xlim, ylim The x and y plotting limits.
xlab, ylab The x and y labels.
... Additional arguments passed to plotXYCurve.numeric().
add If TRUE, the graph is added to the current plot, otherwise a new plot is created.

Value

Returns (invisibly) the curve fit.

Missing values

Data points (x,y) with non-finite values are excluded.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

Internally plotXYCurve.numeric() is used.


[Package aroma.light version 1.10.0 Index]