Description Usage Arguments Examples
This function reorders a dataframe according to the order of identical elements of another dataframe
1 | reorderCols(x, match.data, x.col, new.col)
|
x |
The dataframe that needs to be reordered |
matchData |
The dataframe that contains the column to match |
xCol |
The column of x that needs to be reordered |
newCol |
The index of the column in matchData ywith respect to which you want to reorder x |
1 | reorderCols(x = my_df, match.data = new_df, x.col = 3, new.col = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.