sort_columns: Data.frame Column Sorting Function

View source: R/sort_columns.R

sort_columnsR Documentation

Data.frame Column Sorting Function

Description

sort_columns takes two arguments, the name of a data.frame and the order (ascending or descending), and will then provide the data.frame in the column sorting as specified.

Usage

sort_columns(.data = NULL, order = "asc", verbose = FALSE)

Arguments

.data

data.frame; the source data.frame to be sorted.

order

string; if "asc", the function sorts in ascending order; if "desc", the function sorts in descending order.

verbose

logical; if TRUE, the function prints messages about objects being sorted.


mike-decarlo/caser documentation built on March 14, 2023, 9:54 a.m.