arrange: Arrange rows by variables

Description Usage Arguments Value Examples

View source: R/arrange.R

Description

Order rows of a data.frame by an expression involving its variables.

Usage

1
arrange(.data, ...)

Arguments

.data

A data.frame.

...

A comma separated vector of unquoted name(s) to order the data by.

Value

A data.frame.

Examples

1
2
3
arrange(mtcars, mpg)
mtcars %>% arrange(mpg)
mtcars %>% arrange(cyl, mpg)

poorman documentation built on March 28, 2021, 5:05 p.m.