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)

WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.