script.R
1
2
3
4
5
6
7
# conduct the regression and assign it to mod_bc.
# extract the estimated model coefficients and assign
them to params.
# plot medv against indus and add the regression lines.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R Console
1
>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX