The caret Package - NexTag Supports Open Source Initiatives
The caret Package - NexTag Supports Open Source Initiatives
The caret Package - NexTag Supports Open Source Initiatives
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
16 featurePlot<br />
featurePlot<br />
Wrapper for Lattice Plotting of Predictor Variables<br />
Description<br />
A shortcut to produce lattice graphs<br />
Usage<br />
featurePlot(x, y, plot = if(is.factor(y)) "strip" else "scatter",<br />
labels = c("Feature", ""), ...)<br />
Arguments<br />
x<br />
y<br />
Details<br />
plot<br />
labels<br />
a matrix or data frame of continuous feature/probe/spectra data.<br />
a factor indicating class membership.<br />
the type of plot. For classification: box, strip, density, pairs or ellipse.<br />
For regression, pairs or scatter<br />
a bad attempt at pre-defined axis labels<br />
... options passed to lattice calls.<br />
This function “stacks” data to get it into a form compatible with lattice and creates the plots<br />
Value<br />
An object of class “trellis”. <strong>The</strong> ‘update’ method can be used to update components of the object<br />
and the ‘print’ method (usually called by default) will plot it on an appropriate plotting device.<br />
Author(s)<br />
Max Kuhn<br />
Examples<br />
x