08/04/2014 @ JSM, Boston
# install R, and install.packages('knitr') # and optionally install RStudio (http://www.rstudio.com)
Please do that again! (sorry we made a mistake in the data, want to change a parameter, and yada yada)
i.e. computing languages + authoring languages
We built a linear regression model. ```{r} fit <- lm(dist ~ speed, data = cars) b <- coef(fit) plot(fit) ``` The slope of the regression is `r b[1]`.
an example