How to plot stacked point histograms in ggplot2 in R? -


what's ggplot2 equivalent of "dotplot" histograms? stacked points instead of bars? similar solution in r:

plot histogram points instead of bars

is possible in ggplot2? ideally points shown stacks , faint line showing smoothed line "fit" these points (which make histogram shape.)

as @joran pointed out, can use geom_dotplot

require(ggplot2) ggplot(mtcars, aes(x = mpg)) + geom_dotplot() 

enter image description here


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -