You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messages (from ggscatter() for e.g.) by adding the following after this line:
option[["formula"]] <-y~x
The text was updated successfully, but these errors were encountered:
dchiu911
changed the title
Suppress geom_smooth() using formula 'y ~ x' messages
Suppress geom_smooth() using formula 'y ~ x' messages in ggscatter()Aug 26, 2022
@dchiu911 The behaviour of geom_smooth() depends on the number of observations. Probably it would be best to set method = lm to avoid it switching to using splines. Anyway, there have been no commits at this repo for 2 years and no answers from the repo owner to issues raised or pull requests also for a very long time. I think the effort of learning the Grammar of Graphics and using 'ggplot2' and its extenssions through this grammar avoids many of the headaches caused by "canned" plotting functions like those in 'ggpubr'.
I think we can suppress the persistent
messages (from
ggscatter()
for e.g.) by adding the following after this line:The text was updated successfully, but these errors were encountered: