dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.76k stars 228 forks source link

[Feature Request] Linear Trend Line #152

Closed p-schaefer closed 3 months ago

p-schaefer commented 3 years ago

Would it be possible to add an option for linear trend lines as well as the default?

pvictor commented 3 years ago

Something with the method argument ? Like:

library(ggplot2)
ggplot(mpg, aes(displ, hwy)) +
  geom_point() +
  geom_smooth(method = "lm", se = FALSE)

I'll look into it

p-schaefer commented 3 years ago

Yes, exactly. Thank you!

p-schaefer commented 2 years ago

Any progress on this?

pvictor commented 2 years ago

Sorry, not yet! I put it on my todo

pvictor commented 3 months ago

If you reinstall from GitHub, you can change smoothing method.