Last active
February 13, 2017 11:38
-
-
Save ggada/040305103bebee536feb67059d64fbc5 to your computer and use it in GitHub Desktop.
Residual scatter plot - ggplot2
This file contains 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
ggplot(height, aes(height$fheight, mod$residuals)) + | |
geom_point(size=0.5) + | |
ggtitle("Residual plot of estimates") + | |
theme(plot.title = element_text(hjust = 0.5)) + | |
xlab("Father height") + | |
ylab("Son height") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment