Last active
February 13, 2017 19:36
-
-
Save ggada/2c26ed56a3601b3ac3756fc61be27683 to your computer and use it in GitHub Desktop.
Linear regression line - GXY
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
plot(height, | |
main = "Son height vs. Father height", | |
xlab = "Father height", | |
ylab = "Son height") | |
abline(lm(height$sheight ~ height$fheight, data = height)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment