Description Usage Arguments Value Examples
View source: R/order_columns.R
Sort a data frame by column name
1 | order_columns(df, lead_vars)
|
df |
A data frame |
lead_vars |
A vector of variable names. Variables are put at the beginning and not included in the sorting operation. |
A data frame, sorted by column names and prefixed by lead_vars.
1 | order_columns(hospital, c("patient_id", "hospital_id"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.