Skip to content
Prev 374749 / 398513 Next

find the permutation function of a sorting

So you want:
$x
[1] "ac" "bc" "dd"

$ix
[1] 2 1 3
[1] "E" "D" "F"