Pixelmatrix | R Documentation |
Plots Data matrix as a pixel coulour image.
Pixelmatrix(Data, XNames, LowLim, HiLim,
YNames, main,FillNotFiniteWithHighestValue=FALSE)
Data |
[1:n,1:d] Data cases in rows (n), variables in columns (d) |
LowLim |
Optional: limits for the color axis |
HiLim |
Optional: limits for the color axis |
XNames |
Optional: Vector - names for the X-ticks, NULL: no ticks at all |
YNames |
Optional: Vector - names for the Y-ticks, NULL: no ticks at all |
main |
Optoinal: String - Title of the plot |
FillNotFiniteWithHighestValue |
Optional: TRUE: fills not finite values with same color as the highest value |
Low values are shown in blue and green, middle values in yellow and high values in orange and red.
Michael Thrun, Felix Pape
data("Lsun3D")
Data=Lsun3D$Data
Pixelmatrix(Data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.