Update data-visualize.qmd (#1394)

In Section 2.2.4, 5th paragraph, 2nd line has typo. There are two 'to's.
This commit is contained in:
Devarshi Thakkar
2023-03-27 23:04:29 -04:00
committed by GitHub
parent 51a9fb2aef
commit e1286ca089

View File

@@ -262,7 +262,7 @@ Now let's add one more layer: a smooth curve displaying the relationship between
Before you proceed, refer back to the code above, and think about how we can add this to our existing plot. Before you proceed, refer back to the code above, and think about how we can add this to our existing plot.
Since this is a new geometric object representing our data, we will add a new geom as a layer on top of our point geom: `geom_smooth()`. Since this is a new geometric object representing our data, we will add a new geom as a layer on top of our point geom: `geom_smooth()`.
And we will specify that we want to to draw the line of best fit based on a `l`inear `m`odel with `method = "lm"`. And we will specify that we want to draw the line of best fit based on a `l`inear `m`odel with `method = "lm"`.
```{r} ```{r}
#| warning: false #| warning: false