Skip to content

Commit

Permalink
typo fix in manuals of geom_bar and position_stack (tidyverse#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven E. Templer authored and hadley committed Jan 30, 2017
1 parent 1051a97 commit 3043f04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/geom-bar.r
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' 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}
Expand Down
2 changes: 1 addition & 1 deletion R/position-stack.r
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
#' # 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") +
Expand Down

0 comments on commit 3043f04

Please sign in to comment.