On 18/05/2012 11:30, Roger Bivand wrote:
Since all Spatial*DataFrame objects behave link data.frame objects, you can say:DTM<- readRAST6("DTM@mapset", ignore.stderr=TRUE) DTM_class<- classIntervals(DTM.df$varOfInterest, n=5, style="fisher")
I apologize about my imprecise statement that a Spatial*DataFrame object would require to be treated as.data.frame in order to be fed to classIntervals(). I recalled that some R functions complained about SpatialGridDataFrame objects but it may just be my faulty memory.
Thanks for a great post. Kind regards, Luigi _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
