Skip to content

Commit ecbf5f8

Browse files
committed
Remove extra space in model_int code
1 parent b026ab9 commit ecbf5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

06-multiple-regression.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ coef(model_int)
472472

473473
```{r regtable-interaction, echo=FALSE, purl=FALSE}
474474
# Fit regression model:
475-
model_int <- lm(fert_rate ~ income + life_exp + income:life_exp , data = UN_data_ch6)
475+
model_int <- lm(fert_rate ~ income + life_exp + income:life_exp, data = UN_data_ch6)
476476
b_int <- round(coef(model_int),2)
477477
# Get the coefficients of the model
478478
lm_data <- data.frame("Coefficients" = c("b0", "b02", "b03", "b04", "b1", "b12", "b13", "b14"),"Values" = coefficients(model_int))

0 commit comments

Comments
 (0)