Learn R Programming

fold (version 0.2.6)

sort.folded: Sort Folded

Description

Sorts folded, using all non-VALUE columns, starting from the left. If decreasing is TRUE, the resulting row order is reversed.

Usage

# S3 method for folded
sort(x, decreasing = FALSE, ...)

Arguments

x

folded

decreasing

logical

...

ignored arguments

Value

folded

See Also

fold.data.frame

Examples

Run this code
# NOT RUN {
library(magrittr)
data(eventsf)
eventsf %>% sort
# }

Run the code above in your browser using DataLab