extract {UComp} | R Documentation |
Reorder data frame returning column col reordered according to the values in column accordingTo
extract(x, col, accordingTo = 1)
x |
a data frame |
col |
column to be ordered |
accordingTo |
column to take as the pattern |
data frame reordered
Diego J. Pedregal