stat_unique {ggplot2}R Documentation

stat_unique

Description

Remove duplicates

Usage

stat_unique(mapping=NULL, data=NULL, geom="point", position="identity", ...)

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
... ignored

Details

This page describes stat_unique, 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: 
ggplot(mtcars, aes(x=vs, y=am)) + geom_point(colour="#00000010")
ggplot(mtcars, aes(x=vs, y=am)) + geom_point(colour="#00000010", stat="unique")
## End(Not run)

[Package ggplot2 version 0.8.2 Index]