Skip to content

Commit 44d6afd

Browse files
committed
Clearer documentation indicating that fullrange may extend beyond the data but does not fill the area created by expansion. Docs regenerated by devtools::document() did create some warnings that are unrelated to these changes. Presumably known issues?
1 parent a6c22e7 commit 44d6afd

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ precedence between `bins` and `binwidth`. (@eliocamp, #4651)
8787

8888
* Key glyphs for `geom_boxplot()`, `geom_crossbar()`, `geom_pointrange()`, and
8989
`geom_linerange()` are now orientation-aware (@mjskay, #4732)
90+
91+
* Updated documentation for `geom_smooth()` to more clearly describe effects of the
92+
`fullrange` parameter (@thoolihan, #4399).
9093

9194
# ggplot2 3.3.5
9295
This is a very small release focusing on fixing a couple of untenable issues

R/stat-smooth.r

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
#' observations and `formula = y ~ s(x, bs = "cs")` otherwise.
2121
#' @param se Display confidence interval around smooth? (`TRUE` by default, see
2222
#' `level` to control.)
23-
#' @param fullrange Should the fit span the full range of the plot, or just
24-
#' the data?
23+
#' @param fullrange If TRUE, `fullrange` expands the smoothing line to the range of the plot,
24+
#' potentially beyond the data. This does not extend the line into any additional padding
25+
#' created by `expansion`.
2526
#' @param level Level of confidence interval to use (0.95 by default).
2627
#' @param span Controls the amount of smoothing for the default loess smoother.
2728
#' Smaller numbers produce wigglier lines, larger numbers produce smoother

man/geom_smooth.Rd

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

man/hmisc.Rd

Lines changed: 4 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)