Skip to content

Commit

Permalink
Update transitivity functions
Browse files Browse the repository at this point in the history
  • Loading branch information
LoukiaSpin committed Dec 13, 2023
1 parent e642ac8 commit 6ae6042
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/comp.clustering_function.R
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,8 @@ comp_clustering <- function (input,
## Plot silhouette for selected 'optimal_clusters'
# Prepare dataset with silhouette width results
silhouette_res <-
data.frame(silhouette(cutree(hclust(as.dist(gower_diss_mat)),
data.frame(silhouette(cutree(hclust(as.dist(gower_diss_mat),
method = optimal_link),
k = optimal_clusters),
as.dist(gower_diss_mat)),
study = input_new[, 1])
Expand Down

0 comments on commit 6ae6042

Please sign in to comment.