Last active
January 26, 2021 16:55
-
-
Save brinnaebent/cfa3e6eb5409e0d20b8e78f579c90ed6 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
library(lme4) | |
plot(df$Smoking, df$CHD, xlab='Average Cigarrettes per Adult per Day', ylab="Coronary Heart Disease Mortality (per 10k)") | |
abline(lm(data=df, CHD ~ Smoking ), col="red") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment