Skip to content

Instantly share code, notes, and snippets.

@songhuiming
Created December 10, 2012 06:21
# change the labels of factor ses
hsb2$ses=factor(hsb2$ses, labels=c("low", "median", "high"))
ggplot(hsb2)+geom_bar(aes(factor(ses)), fill="white", colour="blue")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment