Skip to content

Commit 4ce3953

Browse files
bfgray3clauswilke
authored andcommitted
prefix lm() and loess() with stats:: (#3306)
1 parent 7364e13 commit 4ce3953

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/stat-smooth.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#' @param method Smoothing method (function) to use, accepts either a character vector,
22
#' e.g. `"auto"`, `"lm"`, `"glm"`, `"gam"`, `"loess"` or a function, e.g.
3-
#' `MASS::rlm` or `mgcv::gam`, `base::lm`, or `base::loess`.
3+
#' `MASS::rlm` or `mgcv::gam`, `stats::lm`, or `stats::loess`.
44
#'
55
#' For `method = "auto"` the smoothing method is chosen based on the
6-
#' size of the largest group (across all panels). [loess()] is
6+
#' size of the largest group (across all panels). [stats::loess()] is
77
#' used for less than 1,000 observations; otherwise [mgcv::gam()] is
88
#' used with `formula = y ~ s(x, bs = "cs")`. Somewhat anecdotally,
99
#' `loess` gives a better appearance, but is \eqn{O(N^{2})}{O(N^2)} in memory,

man/geom_smooth.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)