Imagine a ggplot that uses geom_smooth(method = "loess", span = 1.5). In that ggplot, what is the span argument telling ggplot to do to the geom_smooth lines (or the associated math)?
I have read the previous discussions on the function of the span argument (and the related discussion of alpha), but they have discussed it as being bounded by 0 and 1. This is not true, and span = 1.5 (for example) creates a different smoothness than span = 1.
The loess smoothing method uses
stats::loess, and the help for that function gives more context about how the span parameter works when it's greater than one.?loessIn other words, when span is > 1 all the points are included, and the larger it gets, the less "local" the weighting gets.