Browse Source

Merge pull request #47 from jjchern/master

Fix a typo in `stat_stepribbon` doc
master
boB Rudis 3 years ago
committed by GitHub
parent
commit
74e29f604a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      R/stat-stepribbon.r
  2. +1
    -1
      man/stat_stepribbon.Rd

+ 2
- 2
R/stat-stepribbon.r View File

@ -5,9 +5,9 @@
#' @md
#' @inheritParams ggplot2::geom_ribbon
#' @param geom which geom to use; defaults to "`ribbon`"
#' @param direction \code{hv} for horizontal-veritcal steps, `vh`` for
#' @param direction `hv` for horizontal-veritcal steps, `vh` for
#' vertical-horizontal steps
#' @references \url{https://groups.google.com/forum/?fromgroups=#!topic/ggplot2/9cFWHaH1CPs}
#' @references [https://groups.google.com/forum/?fromgroups=#!topic/ggplot2/9cFWHaH1CPs]()
#' @export
#' @examples
#' x <- 1:10


+ 1
- 1
man/stat_stepribbon.Rd View File

@ -47,7 +47,7 @@ rather than combining with them. This is most useful for helper functions
that define both data and aesthetics and shouldn't inherit behaviour from
the default plot specification, e.g. \code{\link[=borders]{borders()}}.}
\item{direction}{\code{hv} for horizontal-veritcal steps, `vh`` for
\item{direction}{\code{hv} for horizontal-veritcal steps, \code{vh} for
vertical-horizontal steps}
\item{...}{Other arguments passed on to \code{\link[=layer]{layer()}}. These are


Loading…
Cancel
Save