Skip to content
Prev 320158 / 398503 Next

ggplot2 will not draw a rectangle. Error: ggplot2 doesn't know how to deal with data of class XXX"

Thanks to everyone on this.  

Both Jeff's and Rui's approach worked. It looks like they do equivalent things , that is supplying the x and y values in geom_rect.  The worst of it is I think I saw an example using the NULL NULL approach and did not realise the significance of it.





John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!