Re: [R] Making a ranking algorithm more efficient

2004-06-02 Thread Peter Wolf
let's start by defining x and y matching the properties of the points in the picture <<*>>= x<-c(1,2,4,5,9,3,7,6); y<-c(10,8,5,3,2,9,4,7) plot(x,y,pch=letters[1:8]) @ along each dimension we have to compare the coordinates of the points: <<*>>= outer(x,x,"<") @ we get a logical matrix: output-sta

[R] Making a ranking algorithm more efficient

2004-06-01 Thread Waichler, Scott R
I would like to make a ranking operation more efficient if possible. The goal is to rank a set of points representing objective function values such that points which are "dominated" by no others have rank 1, those which are dominated by one other point have rank 2, etc. In the example with tw