reorderCols | R Documentation |
reorderCols
re-orders columns in a data frame.
reorderCols(df, endColIndex, col_to_rn)
df |
A data frame. |
endColIndex |
the indexes of columns to be moved to the end of
|
col_to_rn |
the column identifier where the values under that column will be used as row names. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.