plotXYCurve.matrix {aroma.light} | R Documentation |
Plot the relationship between two variables as a smooth curve.
## S3 method for class 'matrix': plotXYCurve(X, Y, col=1:nrow(X), lwd=NULL, xlim=NULL, ylim=xlim, xlab=NULL, ylab=NULL, ..., add=FALSE)
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. |
Returns (invisibly) the curve fit.
Data points (x,y) with non-finite values are excluded.
Henrik Bengtsson (http://www.braju.com/R/)
Internally plotXYCurve.numeric
() is used.