[R] how to plot a data.frame?
Jeffrey Robert Spies
jspies at nd.edu
Tue Oct 31 01:13:55 CET 2006
Yep:
?image
"Creates a grid of colored or gray-scale rectangles with colors
corresponding to the values in z. This can be used to display three-
dimensional or spatial data aka “images”. This is a generic function."
Hope that helps,
Jeff.
On Oct 30, 2006, at 7:01 PM, Weiwei Shi wrote:
> hi,
> i have a data frame like this:
> 0.3 0.7
> 0.4 0.8
>
> i am trying to plot this data frame and each cell is filled with
> different colors based on the value. Is there a function which can do
> this?
>
> thanks,
>
>
> --
> Weiwei Shi, Ph.D
> Research Scientist
> GeneGO, Inc.
>
> "Did you always know?"
> "No, I did not. But I believed..."
> ---Matrix III
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list