search for: originalmatrix

Displaying 1 result from an estimated 1 matches for "originalmatrix".

2010 Jan 08
2
A better way to Rank Data that considers "ties"
This will start off sounding very easy, but I think it will be very complicated. Let's say that I have a matrix, which shows the number of apples that each person in a group has. OriginalMatrix<-matrix(c(2,3,5,4,6),nrow=5,ncol=1,byrow=T,dimnames=list(c("Bob","Frank","Joe","Jim","David"),c("Apples"))) Apples Bob 2 Frank 3 Joe 5 Jim 4 David 6 I want to add a third column that shows what eac...