[R] inverse function of order()
Wolfram Fischer
wolfram at fischer-zim.ch
Mon Oct 4 16:21:14 CEST 2004
I have:
d <- sample(10:100, 9)
o <- order(d)
r <- d[o]
How I can get d (in the original order), knowing only r and o?
Thanks - Wolfram
More information about the R-help
mailing list