Created
August 16, 2016 22:35
-
-
Save cimentadaj/1722bc8886a29bfe749fe8149cbbfb08 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the scientific numbering labels | |
o <- ggplot(housing, aes(x=region, y=Land.Price.Index)) + geom_boxplot(outlier.shape = NA) + | |
scale_y_continuous(labels = scientific); o | |
# change it to standard numbers | |
o + scale_y_continuous(labels = comma) | |
# change it to percentages | |
o + scale_y_continuous(labels = percent) | |
# change it to dollars | |
o + scale_y_continuous(labels = dollar) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment