The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
stat_binmean()
is a stat
for ggplot2. It
returns the mean of y
and x
within bins of
x
. It’s a bareborne version of the Stata command binscatter
Since stat_binmean
is just a layer for ggplo2, you can
surimpose any model fit
ggplot(iris, aes(x = Sepal.Width , y = Sepal.Length, color = Species)) + stat_binmean(n=10) + stat_smooth(method = "lm", se = FALSE)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.