library(palmerpenguins)
<- penguins[complete.cases(penguins), ] |>
peng select(flipper_length_mm, bill_length_mm)
Lab 24: K-Means Clustering
Note
In lab.qmd ## Lab 24
section,
Install R package
palmerpenguins
at https://allisonhorst.github.io/palmerpenguins/Perform K-Means to with \(K = 3\) to cluster penguins based on
bill_length_mm
andflipper_length_mm
of datapeng
.
Warning: Removed 2 rows containing missing values (`geom_point()`).