replyr_arrange: arrange by a single column

Description Usage Arguments Examples

View source: R/underscoreReplacements.R

Description

arrange by a single column

Usage

1
replyr_arrange(.data, colname, descending = FALSE)

Arguments

.data

data object to work on

colname

character column name

descending

logical if true sort descending (else sort ascending)

Examples

1
2
3
d <- data.frame(Sepal_Length= c(5.8,5.7),
                Sepal_Width= c(4.0,4.4))
replyr_arrange(d, 'Sepal_Length', descending= TRUE)

replyr documentation built on Nov. 1, 2019, 7:49 p.m.