Hi All,
I'm trying to duplicate a code example in Plot Builder. It's a stat_density plot of percent rather than proportion. I can get this using code by simply multiplying ..density.. by 100:
ggplot() +
stat_density(aes(x = College),data=USfacts, y = 100*..density..)
But the only way I see to enter the 100 into Plot Builder that I see is to click the "use a specific value" button and enter "100*..density.." That generates the call:
ggplot() +
stat_density(aes(x = College),data=USfacts,y = '100*..density..')
and the quotes around '100*..density..' block it from working. Is there another way to get it to display percents on the y-axis?
Thanks,
Bob