Skip to content
Prev 317567 / 398502 Next

Plot a Matrix as an Image with ggplot

The R-help list is rather picky about what attached. None of your attachments arrived. 

The str() info is useful but please supply some sample data 

 The easiest way to supply data  is to use the dput() function.  Example with your file named "testfile": 
dput(testfile) 

Then copy the output and paste into your email.  For large data sets, you can just supply a representative sample.  Usually, 
dput(head(testfile, 100)) will be sufficient.  

How are you writing the code/or what format is the original email. Your code in the body of the text is badly messed up -- you probably need to post only in text. HTML etc is automatically dropped.


 

John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!