Description Usage Arguments Details
View source: R/move_col_front.R
Move a single column of a data frame to the very front of it, i.e. set it as the first column.
1 | move_col_front(d, colname = "colname")
|
d |
Data.table or data.frame whose columns are to be rearranged. |
colname |
Character string giving the column name to be rearranged as first column |
Author: Holger Kirsten
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.