Created
August 16, 2016 19:21
-
-
Save cimentadaj/20fa7a4bd84a6bb405bd42d97e4b8874 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
# Create the scatterplot | |
m <- ggplot(housing, aes(x=Land.Price.Index, y=Home.Price.Index)) + geom_point(); m | |
# Let's add the name, breaks and labels | |
m <- m + scale_y_continuous(name="Home Price Index", breaks=waiver(), labels=waiver()); m | |
m <- m + scale_x_continuous(name="Land Price Index", breaks=c(0,2,4,6,8), labels=c("Hi","this","is","a","trial"), limits=c(0,8)); m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment