I did a script to have a good barplot with barplot() on R
Is it possible to have on the y-axis the % and not the quantity (number of observations) ? I would love to have the % without to change all of the script...
Thanks a lot
I did a script to have a good barplot with barplot() on R
Is it possible to have on the y-axis the % and not the quantity (number of observations) ? I would love to have the % without to change all of the script...
Thanks a lot
ggplot
has this option, but for barplot()
I believe you will have to make a new variable that represents the percent and then feed that into barplot()