[R] MDS with ranking data (and transformation)
achristoffersen
achristoffersen at gmail.com
Sun Feb 15 21:33:33 CET 2009
Charles C. Berry wrote:
>
> Something like
>
> dat <- t( apply( your.data, 1 , order ) )
> colnames(dat) <- paste( 'philosopher', 1:10, sep='_' )
>
> HTH,
>
Hi Chuck - thx - but I have trouble geting further. I think I need "rank"
not "sort" - but this still doesnet solve my conundrum.
I have data like this
v1,v2,v3
nameA,nameB,nameC
nameB,nameA,nameC
nameB,nameA,nameC
nameA,nameC,nameB
And I would like to transform to this
nameA,nameB,nameC
v1,v2,v3,
v2,v1,v3
v2,v1,v3
v1,v3,v2
Hope this makes sense?
Thx again!
Andreas
--
View this message in context: http://www.nabble.com/MDS-with-ranking-data-%28and-transformation%29-tp22025457p22027203.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list