On Mon, 4 Oct 2004 16:21:14 +0200 Wolfram Fischer wrote: > 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?
r[order(o)] hth Z > Thanks - Wolfram > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html