Skip to content
Newer
Older
100644 39 lines (36 sloc) 931 Bytes
953fe47 @hadley Convert all documentation to roxygen
authored Dec 31, 2010
1 #' Blank, draws nothing.
1244716 @hadley Trim whitespace
authored Feb 24, 2014
2 #'
953fe47 @hadley Convert all documentation to roxygen
authored Dec 31, 2010
3 #' The blank geom draws nothing, but can be a useful way of ensuring common
4 #' scales between different plots.
5 #'
6 #' @export
a62d3af @hadley Make geom/stat/layer documentation more consistent.
authored Feb 1, 2016
7 #' @inheritParams layer
7b5d0a7 @hadley Inherit geom parameters
authored Dec 21, 2011
8 #' @inheritParams geom_point
953fe47 @hadley Convert all documentation to roxygen
authored Dec 31, 2010
9 #' @examples
ab42c2c @hadley Improve dontrun usage
authored Feb 26, 2016
10 #' ggplot(mtcars, aes(wt, mpg))
953fe47 @hadley Convert all documentation to roxygen
authored Dec 31, 2010
11 #' # Nothing to see here!
067e096 @hadley Consistent argument ordering/formatting.
authored Jan 26, 2016
12 geom_blank <- function(mapping = NULL, data = NULL,
13 stat = "identity", position = "identity",
14 ...,
15 show.legend = NA,
16 inherit.aes = TRUE) {
138ab04 @wch Change Layer$new() calls to layer(). Closes #1180
wch authored Jul 22, 2015
17 layer(
915c345 @wch Convert all remaining stats and geoms to R6
wch authored Jun 24, 2015
18 data = data,
19 mapping = mapping,
20 stat = stat,
21 geom = GeomBlank,
22 position = position,
a273159 @hadley Rename show_guide to show.legend
authored Jul 28, 2015
23 show.legend = show.legend,
915c345 @wch Convert all remaining stats and geoms to R6
wch authored Jun 25, 2015
24 inherit.aes = inherit.aes,
25 params = list(...)
26 )
ede677c @JakeRuss Removed xxx.r (build_accessor file) and @name tags, added functions t…
JakeRuss authored Jun 28, 2011
27 }
28
46c1796 @hadley Fix loading problems
authored Jan 4, 2011
29
4c3d5e2 @wch Document and export Geoms, Stats, and Positions. Closes #1184
wch authored Jul 23, 2015
30 #' @rdname ggplot2-ggproto
31 #' @format NULL
32 #' @usage NULL
33 #' @export
ee96a37 @wch Rename proto2 to ggproto
wch authored Jul 23, 2015
34 GeomBlank <- ggproto("GeomBlank", Geom,
591034f @hadley Clarify roles of draw and draw_group
authored Aug 5, 2015
35 default_aes = aes(),
4668ce7 @hadley Consistent approach to na.rm.
authored Oct 13, 2015
36 handle_na = function(data, params) data,
3713910 @hadley Refactoring Geom. Fixes #1258
authored Aug 25, 2015
37 draw_panel = function(...) nullGrob()
915c345 @wch Convert all remaining stats and geoms to R6
wch authored Jun 25, 2015
38 )
Something went wrong with that request. Please try again.