Skip to content

Dar zhaot4 #69

Merged
merged 9 commits into from Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 15 additions & 1 deletion StudentNotebooks/Assignment01/zhaot4-f24-assignment1.Rmd
Expand Up @@ -354,7 +354,21 @@ What do the clustering and PCA results tell us about the data detected by the
The clustering and PCA results from the M20 PIXL experiment data reveal a heterogeneous composition in the Martian surface samples, indicating diverse geological processes and materials. The three distinct clusters point to different rock or soil types, suggesting a complex geological history involving various environmental conditions and processes.

```{r}
library(ggplot2)
library(factoextra)
library(dplyr)
summary(pixl_trim.mat.pca)
loadings <- pixl_trim.mat.pca$rotation
print("PCA Loadings:")
print(loadings)
data <- as.factor(km$cluster)
fviz_pca_biplot(pixl_trim.mat.pca,
geom.ind = "point",
col.ind = data, # Color by clusters
palette = "jco",
addEllipses = FALSE,
label = "var",
title = "PCA Biplot of Martian Geochemical Data")
```

## SAVE, COMMIT and PUSH YOUR CHANGES!
Expand Down
111 changes: 100 additions & 11 deletions StudentNotebooks/Assignment01/zhaot4-f24-assignment1.html

Large diffs are not rendered by default.

Binary file modified StudentNotebooks/Assignment01/zhaot4-f24-assignment1.pdf
Binary file not shown.