Re: [R-sig-Geo] Natural Breaks Classification

2006-02-24 Thread David Bitner
David On 2/24/06, Roger Bivand <[EMAIL PROTECTED]> wrote: > On Fri, 24 Feb 2006, David Bitner wrote: > > > I was actually already using that paper as a resource, but I am still > > not quite understanding how to get just the breaks that I can use for > > cl

Re: [R-sig-Geo] Natural Breaks Classification

2006-02-24 Thread David Bitner
a<-c(11,1,3,3,4,4,4,4,4,4,5) This gives me the vector (3,1,1,1,2,2,2,2,2,2,2) ideally I want the output for this to be just (3,5,11) Taking this with the min/max of my data I can create the classes 1-3,4-5,6-11 On 2/24/06, Roger Bivand <[EMAIL PROTECTED]> wrote: > On Fri, 24 Feb 2006, D

[R-sig-Geo] Natural Breaks Classification

2006-02-24 Thread David Bitner
I am trying to create some type of a Natural Breaks Classification in PL/R to classify data that I have in a PostgreSQL/PostGIS database. All that I really need so that I can pass information on to Mapserver to display this data is the class break values (ie an array [3,5,7,9] would mean show val