diff --git a/R/stat-stepribbon.r b/R/stat-stepribbon.r index dc18578..85f34a2 100644 --- a/R/stat-stepribbon.r +++ b/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 diff --git a/man/stat_stepribbon.Rd b/man/stat_stepribbon.Rd index 3a1ca81..8b99ac0 100644 --- a/man/stat_stepribbon.Rd +++ b/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