move_front | R Documentation |
This function is taken from daattali/rsalad R package.
move_front(df, cols)
df |
A data.frame. |
cols |
A vector of column names to move to the front. |
df <- data.frame(a = character(0), b = character(0), c = character(0), stringsAsFactors = TRUE)
move_front(df, "b")
move_front(df, c("c", "b"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.