Jim Lemon vas escriure el dia dj, 08 des 2011: > The Hinton diagram looks fairly close to an image plot, or the > color2D.matplot function. The difference is that the area of the squares > in the Hinton plot are proportional to some value rather than the color, > which indicates the sign of the value. If you have no luck finding this, > I think I could easily morph color2D.matplot into a Hinton diagram > function.
I have tried the color2D.matplot() function and it works fine for what I need now (checking matrices for my own use). However, it would be great if R can have Hinton diagrams, and color2D.matplot would probably be the best way to start. So I will appreciate very much if you can morph it. Probably the single line to change will be the calls to hexagon() and rect(), which will need some tunning. I will be glad to try to help. Best, -- - Xavier - ______________________________________________ R-help@r-project.org 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.