Browse Source

Merge pull request #47 from jjchern/master

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

4
R/stat-stepribbon.r

@ -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

2
man/stat_stepribbon.Rd

@ -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