From 63269d90cfa4347c5266f3565848f5d106001483 Mon Sep 17 00:00:00 2001 From: hadley Date: Mon, 30 Jan 2017 07:51:01 -0600 Subject: [PATCH] Update docs --- man/geom_bar.Rd | 2 +- man/position_stack.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/geom_bar.Rd b/man/geom_bar.Rd index 51c0cbfdb3..7ebc2da460 100644 --- a/man/geom_bar.Rd +++ b/man/geom_bar.Rd @@ -69,7 +69,7 @@ the default plot specification, e.g. \code{\link{borders}}.} \description{ There are two types of bar charts: \code{geom_bar} makes the height of the bar proportional to the number of cases in each group (or if the -\code{weight} aethetic is supplied, the sum of the weights). If you want the +\code{weight} aesthetic is supplied, the sum of the weights). If you want the heights of the bars to represent values in the data, use \link{geom_col} instead. \code{geom_bar} uses \code{stat_count} by default: it counts the number of cases at each x position. \code{geom_col} diff --git a/man/position_stack.Rd b/man/position_stack.Rd index 399c2b160f..bc71fddf07 100644 --- a/man/position_stack.Rd +++ b/man/position_stack.Rd @@ -96,7 +96,7 @@ ggplot(series, aes(time, value)) + # Non-area plots ------------------------------------------------------------ # When stacking across multiple layers it's a good idea to always set -# the `group` aethetic in the ggplot() call. This ensures that all layers +# the `group` aesthetic in the ggplot() call. This ensures that all layers # are stacked in the same way. ggplot(series, aes(time, value, group = type)) + geom_line(aes(colour = type), position = "stack") +