Arrange rows by variables

# S3 method for FDF
arrange(.data, ..., .by_group = FALSE)

arrange(.data, ...)

Arguments

.data

A FDF.

...

Comma separated list of unquoted variable names. Use desc() to sort a variable in descending order.

.by_group

If TRUE, will sort first by grouping variable. Applies to grouped data frames only.

Value

An object of the same class as .data.

Examples

test <- FDF(datasets::iris) test2 <- arrange(test, Sepal.Length) test3 <- arrange(test, Species, desc(Sepal.Length))