logo-header

 
 

syntax

definition

ClassifyEqualCount(a, domain unit) results in a data item with class breaks, based on an equal count distribution of classes. The resulting values unit is the values unit of item a, the resulting domain unit is the domain unit argument.

  • a: numeric data item to be classified
  • domain unit: determining the number of class breaks.

description:

An equal distribution of classes means the data item to be classified is split up in classes with, as far as possible, an equal count of occurrences in each class. The same function can also be applied from the GUI, by requesting the Palette Editor of a map layer and activate the Classify > Equal Count classification (see also the User Guide). 

applies to

Data item a with Numeric value type

Domain unit with value type from group CanBeDomainUnit

since version

7.019

example

attribute<nrPersons> classifyEcNrInh (inh_4K) 
:= ClassifyEqualCount(NrInh, inh_4K);
classifyEcNrInh
0
55
300
860
Table inh_4K, nr of rows = 4

NrInh
550
1025
300
200
0
null
300
2
20
55
860
1025
1025
100
750
Table District, nr of rows = 15

OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904