I am learning R for visualization, and come across this example:
ggplot(data = diamonds) +
geom_bar(mapping = aes(x = cut, y = ..prop.., group = 1))
The result will show proportionally instead of count, but I don't understand how this works. Could someone please explain to me what is this syntax ..something..
do ?