Skip to content

Commit 7d28eaa

Browse files
committed
fixed up to fig 2.7 of clustering.
1 parent a8148f6 commit 7d28eaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clustering.Rmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ penguin_data
168168
Next, we can create a scatter plot using this data set
169169
to see if we can detect subtypes or groups in our data set.
170170

171-
```{r 10-toy-example-plot, warning = FALSE, fig.height = 3.5, fig.width = 3.75, fig.align = "center", fig.cap = "Scatter plot of standardized bill length versus standardized flipper length."}
171+
```{r 10-toy-example-plot, warning = FALSE, fig.height = 3.5, fig.width = 3.75, fig.align = "center", fig.pos = "H", out.extra="", fig.cap = "Scatter plot of standardized bill length versus standardized flipper length."}
172172
ggplot(data, aes(x = flipper_length_standardized,
173173
y = bill_length_standardized)) +
174174
geom_point() +
@@ -406,6 +406,8 @@ all_clusters_base <- all_clusters_base +
406406
all_clusters_base
407407
```
408408

409+
\newpage
410+
409411
### The clustering algorithm
410412

411413
We begin the K-means \index{K-means!algorithm} algorithm by picking K,

0 commit comments

Comments
 (0)