sort.data.frame: Sort a data frame by column

Description Usage Arguments Value Examples

Description

Creates a table of aov summary

Usage

1
2
## S3 method for class 'data.frame'
sort(x, decreasing = FALSE, by = 1, ...)

Arguments

x

a data frame

decreasing

Decreasing oder?

by

index to sort on

...

further arguments passed to or from other methods (ignored)

Value

a sorted data frame

Examples

1
2
3
4
##sort(iris, by="Sepal.Length")
##sort(iris, by=c("Species","Sepal.Length"))
##sort(iris, by=1:2)
##sort(iris, by="Sepal.Length",decreasing=TRUE)

darrellpenta/dissertate documentation built on May 14, 2019, 6:10 p.m.