-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geom_smooth parameters no longer available in qplot #1612
Comments
Related to #1585 |
Please provide a reproducible example. There are three things you need to include to make your example reproducible: required packages, data, and code.
Try and find the smallest subset of your data that still reveals
Finish by checking that you have actually made a reproducible example by starting a fresh R session and copying and pasting your script in. (@thomasp85 - I think it's actually slightly different - that issue is to do with aesthetics where as this is parameters. i.e. in this case we should be able to automatically pull the parameters out of the aesthetics) |
Just tried this again after a long while and there appears to be no issue. Either "thanks ggplot team!" for fixing it or "sorry ggplot team!" if there was no issue in the first place. |
In the past, I was able to write the following code:
qplot(data=dat, x=x_var, y=y_var, geom=c("point", "smooth"), se=FALSE, method="lm")
But now that returns the error: "Error: Unknown parameters: se, method"
Of course it isn't too difficult to just add
+ geom_smooth(se=FALSE, method="lm")
but I guess I don't understand why it was taken out of qplot's functionality.The text was updated successfully, but these errors were encountered: