diff --git a/R/geom-text-repel.R b/R/geom-text-repel.R index ed013e8..a5a57d0 100644 --- a/R/geom-text-repel.R +++ b/R/geom-text-repel.R @@ -69,7 +69,7 @@ #' \code{unit(0, "lines")}. #' @param segment.size Width of line segment connecting the data point to #' the text label, in mm. -#' @param segment.alpha Transparency of the segment, in \code[0,1]. Makes segments half transparent by default. +#' @param segment.alpha Transparency of the segment, in \code{[0,1]}. Makes segments half transparent by default. #' @param arrow specification for arrow heads, as created by \code{\link[grid]{arrow}} #' @param force Force of repulsion between overlapping text labels. Defaults #' to 1. diff --git a/man/geom_text_repel.Rd b/man/geom_text_repel.Rd index 1f62458..b05c067 100644 --- a/man/geom_text_repel.Rd +++ b/man/geom_text_repel.Rd @@ -85,7 +85,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[ggplot2]{borders}}.} -\item{segment.alpha}{Transparency of the segment, in \code[0,1]. Makes segments half transparent by default.} +\item{segment.alpha}{Transparency of the segment, in \code{[0,1]}. Makes segments half transparent by default.} } \description{ \code{geom_text_repel} adds text directly to the plot.