extract | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.