[R] Using data stored in a file for a heatmap
Richard Müller
mueller.eisborn at googlemail.com
Wed Jul 11 21:14:52 CEST 2012
Hi all,
I just try to get familiar with levelplot() for generating heatmaps. I
have x, y, z-data stored in a file: e.g.:
"file.csv":
0 0 0.1
0 1 0.5
0 2 0.4
1 0 0.3
1 1 0.4
1 2 0.6
...
I can use scan() for generating the matrix for R:
inp <- scan("file.csv", list(0, 0, 0))
How can I feed inp into levelplot()?
Thanks a lot for your help
Richard
--
Richard Müller . Am Spring 9 . D-58802 Balve
www.oeko-sorpe.de
More information about the R-help
mailing list