R Markdown Syntax Guide
R Markdown Syntax Guide
January 1, 2020
We build a linear regression below.
fit = lm(dist ~ speed, data = cars)
b = coef(summary(fit))
plot(fit)



The slope of the regression is 3.9324088.
Last updated on
We build a linear regression below.
fit = lm(dist ~ speed, data = cars)
b = coef(summary(fit))
plot(fit)



The slope of the regression is 3.9324088.