Skip to content

Commit e8a1f79

Browse files
committed
adjusting clustering plot
1 parent 4cc574a commit e8a1f79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clustering.Rmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ iter_plot_list <- c(list_plot_cntrs[1], list_plot_lbls[1],
693693
# ncol = 4,
694694
# rel_heights = c(1.10, 1, 1))
695695
696+
ggarrange(plots = iter_plot_list, ncol =4, common.legend = TRUE)
696697
697698
698699
ggarrange(iter_plot_list[[1]] +
@@ -746,14 +747,16 @@ ggarrange(iter_plot_list[[1]] +
746747
axis.ticks.y = element_blank(),
747748
axis.title.y = element_blank(),
748749
plot.margin = margin(l = 2, t = 2, b = 2)),
750+
ggplot() + theme_void(), ggplot() + theme_void(), ggplot() + theme_void(), ggplot() + theme_void(),
749751
iter_plot_list[[9]] +
750752
theme(plot.margin = margin(r = 2)),
751753
iter_plot_list[[10]] +
752754
theme(axis.text.y = element_blank(),
753755
axis.ticks.y = element_blank(),
754756
axis.title.y = element_blank(),
755757
plot.margin = margin(l = 2) ),
756-
ncol = 4)
758+
heights = c(4, 4, -1, 4),
759+
ncol = 4)
757760
```
758761

759762
This looks like a relatively bad clustering of the data, but K-means cannot improve it.

0 commit comments

Comments
 (0)