Skip to content

Commit

Permalink
Final doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 2, 2016
1 parent d012843 commit ec2468f
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 24 deletions.
2 changes: 1 addition & 1 deletion R/aes-group-order.r
@@ -1,4 +1,4 @@
#' Aesthetics: group
#' Aesthetics: grouping
#'
#' @name aes_group_order
#' @aliases group
Expand Down
10 changes: 6 additions & 4 deletions R/quick-plot.r
@@ -1,9 +1,11 @@
#' Quick plot
#'
#' \code{qplot} is the basic plotting function in the ggplot2 package,
#' designed to be familiar if you're used to base \code{\link{plot}()}.
#' It's a convenient wrapper for creating a number of different types of plots
#' using a consistent calling scheme.
#' \code{qplot} is a shortcut designed to be familiar if you're used to base
#' \code{\link{plot}()}. It's a convenient wrapper for creating a number of
#' different types of plots using a consistent calling scheme. It's great
#' for allowing you to produce plots quickly, but I highly recommend
#' learning \code{\link{ggplot}()} as it makes it easier to create
#' complex graphics.
#'
#' @param x,y,... Aesthetics passed into each layer
#' @param data Data frame to use (optional). If not specified, will create
Expand Down
1 change: 1 addition & 0 deletions R/translate-qplot-ggplot.r
Expand Up @@ -7,6 +7,7 @@
#' describes what those defaults are, and how they map to the fuller ggplot()
#' syntax.
#'
#' @keywords internal
#' @name translate_qplot_ggplot
#' @examples
#'
Expand Down
1 change: 1 addition & 0 deletions R/translate-qplot-lattice.r
Expand Up @@ -4,6 +4,7 @@
#' formula based interface. ggplot2 does not because the formula does not
#' generalise well to more complicated situations.
#'
#' @keywords internal
#' @name translate_qplot_lattice
#' @examples
#' \donttest{
Expand Down
26 changes: 13 additions & 13 deletions _pkgdown.yml
Expand Up @@ -12,13 +12,14 @@ reference:
- title: Plot basics
desc: >
All ggplot2 plots with a call to `ggplot()`, supplying default data and
aesthethic mappings, specified by `aes()`. You then add components (listed
below) with `+`. To save a plot to disk, use `ggsave()`.
aesthethic mappings, specified by `aes()`. You then add layers, scales,
coords and facets with `+`. To save a plot to disk, use `ggsave()`.
contents:
- ggplot
- aes
- +.gg
- ggsave
- qplot

- title: "Layer: geoms"
desc: >
Expand Down Expand Up @@ -64,6 +65,16 @@ reference:
- annotation_raster
- borders

- title: Aesthetics
desc: >
The following help topics give a broad overview of some of the ways
you can use each aesthetic
contents:
- aes_colour_fill_alpha
- aes_group_order
- aes_linetype_size_shape
- aes_position

- title: Scales
desc: >
Scales control the details of how data values are translated to visual
Expand Down Expand Up @@ -166,17 +177,6 @@ reference:
- mean_se
- resolution

- title: All functions
desc: ~
contents:
- aes_colour_fill_alpha
- aes_group_order
- aes_linetype_size_shape
- aes_position
- translate_qplot_ggplot
- translate_qplot_lattice
- qplot

- title: Data
desc: >
ggplot2 comes with a selection of built-in datasets that are used in
Expand Down
4 changes: 2 additions & 2 deletions man/aes_group_order.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions man/qplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/translate_qplot_ggplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/translate_qplot_lattice.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec2468f

Please sign in to comment.