arrange_rows: Arrange Rows by Multiple Columns

Description Usage Arguments Value Examples

View source: R/other_utils.R

Description

Arrange rows in a data frame according by the columns provided. The order of columns will determine the order of arrangement.

Usage

1

Arguments

data

a data frame

...

quoted column names

Value

a data frame with arranged rows

Examples

1
2
df <- data.frame(a = c(4, 6, 2), b = c('a', 's', 'd'))
df <- arrange_rows(df, a, b)

YuanchenZhu2020/antgreens documentation built on Dec. 18, 2021, 8:20 p.m.