Skip to content

Commit 03d1746

Browse files
author
ccani007
committed
Fixes # 5960
Changed "unscaled x" because the function takes transformed values.
1 parent 09d5c35 commit 03d1746

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Config/testthat/edition: 3
7878
Encoding: UTF-8
7979
LazyData: true
8080
Roxygen: list(markdown = TRUE)
81-
RoxygenNote: 7.3.1
81+
RoxygenNote: 7.3.2
8282
Collate:
8383
'ggproto.R'
8484
'ggplot-global.R'

R/stat-bin.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#' @param binwidth The width of the bins. Can be specified as a numeric value
2-
#' or as a function that calculates width from unscaled x. Here, "unscaled x"
3-
#' refers to the original x values in the data, before application of any
4-
#' scale transformation. When specifying a function along with a grouping
5-
#' structure, the function will be called once per group.
2+
#' or as a function that takes x after scale transformation as input and
3+
#' returns a single numeric value. When specifying a function along with a
4+
#' grouping structure, the function will be called once per group.
65
#' The default is to use the number of bins in `bins`,
76
#' covering the range of the data. You should always override
87
#' this value, exploring multiple widths to find the best to illustrate the

man/geom_histogram.Rd

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/stat_summary.Rd

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)