You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Change The Barplot Bar Width# load the gcookbook package for the datalibrary(gcookbook)# load the ggplot2 packagelibrary(ggplot2)# plot a default barplotggplot(pg_mean, aes(x=group, y=weight)) + geom_bar(stat="identity")# plot a barplot with skinny barsggplot(pg_mean, aes(x=group, y=weight)) + geom_bar(stat="identity", width=0.5)# plot a barplot with thick barsggplot(pg_mean, aes(x=group, y=weight)) + geom_bar(stat="identity", width=1)