Skip to content
Prev 374753 / 398513 Next

find the permutation function of a sorting

Thanks, David,  Rui and Jeff!!! The function order works much better.
I should have used an example where the permutation and its inverse are not
identical:
[1] 3 1 2
[1] "F" "D" "E"
[1] "E" "F" "D"

2018-05-23 14:18 GMT+08:00 Rui Barradas <ruipbarradas at sapo.pt>: