Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.412 kb
StatUnique <- proto(Stat, {
objname <- "unique"
desc <- "Remove duplicates"
default_geom <- function(.) GeomPoint
calculate_groups <- function(., data, scales, ...) unique(data)
desc_outputs <- list()
examples <- function(.) {
ggplot(mtcars, aes(x=vs, y=am)) + geom_point(colour="#00000010")
ggplot(mtcars, aes(x=vs, y=am)) + geom_point(colour="#00000010", stat="unique")
}
})
Jump to Line
Something went wrong with that request. Please try again.