|
18 | 18 | #' `y ~ poly(x, 2)`, `y ~ log(x)`. `NULL` by default, in which case
|
19 | 19 | #' `method = NULL` implies `formula = y ~ x` when there are fewer than 1,000
|
20 | 20 | #' observations and `formula = y ~ s(x, bs = "cs")` otherwise.
|
21 |
| -#' @param se Display confidence interval around smooth? (`TRUE` by default, see |
| 21 | +#' @param se Display confidence band around smooth? (`TRUE` by default, see |
22 | 22 | #' `level` to control.)
|
23 | 23 | #' @param fullrange If `TRUE`, the smoothing line gets expanded to the range of the plot,
|
24 | 24 | #' potentially beyond the data. This does not extend the line into any additional padding
|
25 | 25 | #' created by `expansion`.
|
26 | 26 | #' @param xseq A numeric vector of values at which the smoother is evaluated.
|
27 | 27 | #' When `NULL` (default), `xseq` is internally evaluated as a sequence of `n`
|
28 | 28 | #' equally spaced points for continuous data.
|
29 |
| -#' @param level Level of confidence interval to use (0.95 by default). |
| 29 | +#' @param level Level of confidence band to use (0.95 by default). |
30 | 30 | #' @param span Controls the amount of smoothing for the default loess smoother.
|
31 | 31 | #' Smaller numbers produce wigglier lines, larger numbers produce smoother
|
32 | 32 | #' lines. Only used with loess, i.e. when `method = "loess"`,
|
|
40 | 40 | #' .details = "`stat_smooth()` provides the following variables, some of
|
41 | 41 | #' which depend on the orientation:",
|
42 | 42 | #' "y|x" = "Predicted value.",
|
43 |
| -#' "ymin|xmin" = "Lower pointwise confidence interval around the mean.", |
44 |
| -#' "ymax|xmax" = "Upper pointwise confidence interval around the mean.", |
| 43 | +#' "ymin|xmin" = "Lower pointwise confidence band around the mean.", |
| 44 | +#' "ymax|xmax" = "Upper pointwise confidence band around the mean.", |
45 | 45 | #' "se" = "Standard error."
|
46 | 46 | #' )
|
47 | 47 | #' @export
|
|
0 commit comments