Here is my data set
I want to plot a graph showing the Probability density function for the variable quality of the division on the type of wine.
I try this:
library(ggplot2)
db <- dbeta(wines$quality, 1, 1)
qplot(wines$quality, db, geom="line")
but it plot flat line.
ok, i think my code don't have any sens. I want to do somethink lie that: Example x-quality of wines(dry,semi-dry....)
What can I do?


dput(wines)dputwas feasible...dbvalues are zero. Try a different distribution.