Skip to content

Clarify that span is only used for loess in stat_smooth - #4261

Merged
yutannihilation merged 4 commits into
tidyverse:masterfrom
nalimilan:patch-1
Nov 27, 2020
Merged

yutannihilation merged 4 commits into
tidyverse:masterfrom
nalimilan:patch-1

Conversation

@nalimilan

@nalimilan nalimilan commented Nov 9, 2020 •

Copy link
Copy Markdown
Contributor

It can be surprising that span argument has no effect when number of observations is large (cf. #3174).

It can be surprising that `span` argument has no effect when number of observations is large.
@yutannihilation

Copy link
Copy Markdown
Member

You need to edit the original text and then re-generate the docs by devtools::document().

ggplot2/R/stat-smooth.r

Lines 26 to 28 in a132727

#' @param span Controls the amount of smoothing for the default loess smoother.
#' Smaller numbers produce wigglier lines, larger numbers produce smoother
#' lines.

@nalimilan

Copy link
Copy Markdown
Contributor Author

Ah of course, sorry!

@yutannihilation yutannihilation left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, almost looks good to me! I added minor comments about spacing.

One more thing, Tidyverse team is trying to change the license of ggplot2 to more permissive one (the MIT license) to minimize the problems and confusions arising from license incompatibilities. If you are fine that your contribution will be merged to ggplot2 and get licensed under MIT, would you mind commenting "I agree" on #4231?

For more details, you can join the discussion on #4236, or wait for their upcoming blog post.

Comment thread R/stat-smooth.r Resolved
Comment thread R/stat-smooth.r Resolved
@yutannihilation

Copy link
Copy Markdown
Member

/document

@yutannihilation
yutannihilation merged commit 12e61df into tidyverse:master Nov 27, 2020
@yutannihilation

Copy link
Copy Markdown
Member

Thanks!

@nalimilan
nalimilan deleted the patch-1 branch November 27, 2020 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants