Skip to content

Commit bdf5651

Browse files
cwickhamhadley
authored andcommitted
correction to stat_bin documentation (#1889)
1 parent 9869339 commit bdf5651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/stat-bin.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
#' @param center The center of one of the bins. Note that if center is above or
1313
#' below the range of the data, things will be shifted by an appropriate
1414
#' number of \code{width}s. To center on integers, for example, use
15-
#' \code{width=1} and \code{center=0}, even if \code{0} is outside the range
15+
#' \code{width = 1} and \code{center = 0}, even if \code{0} is outside the range
1616
#' of the data. At most one of \code{center} and \code{boundary} may be
1717
#' specified.
1818
#' @param boundary A boundary between two bins. As with \code{center}, things
1919
#' are shifted when \code{boundary} is outside the range of the data. For
2020
#' example, to center on integers, use \code{width = 1} and \code{boundary =
21-
#' 0.5}, even if \code{1} is outside the range of the data. At most one of
21+
#' 0.5}, even if \code{0.5} is outside the range of the data. At most one of
2222
#' \code{center} and \code{boundary} may be specified.
2323
#' @param breaks Alternatively, you can supply a numeric vector giving
2424
#' the bin boundaries. Overrides \code{binwidth}, \code{bins}, \code{center},

0 commit comments

Comments
 (0)