stat_sort {ggplot2}R Documentation

stat_sort

Description

Sort in order of ascending x

Usage

stat_sort(mapping=NULL, data=NULL, geom="path", position="identity", variable="x", ...)

Arguments

mapping mapping between variables and aesthetics generated by aes
data dataset used in this layer, if not specified uses plot dataset
geom geometric used by this layer
position position adjustment used by this layer
variable variable to sort by
... ignored

Details

This page describes stat_sort, see layer and qplot for how to create a complete plot from individual components.

Value

A layer

Author(s)

Hadley Wickham, http://had.co.nz/

See Also

Examples

## Not run: 
    # See geom_line for the main use of this
## End(Not run)

[Package ggplot2 version 0.6 Index]