| ggally_smooth {GGally} | R Documentation |
Add a smoothed condition mean with a given scatter plot.
ggally_smooth(data, mapping, ...)
data |
data set using |
mapping |
aesthetics being used |
... |
other arguments to add to geom_point |
Barret Schloerke schloerke@gmail.com
data(tips, package = "reshape") ggally_smooth(tips, mapping = ggplot2::aes(x = total_bill, y = tip)) ggally_smooth(tips, mapping = ggplot2::aes_string(x = "total_bill", y = "tip")) ggally_smooth(tips, mapping = ggplot2::aes_string(x = "total_bill", y = "tip", color = "sex"))