Package: Silhouette 0.9.7

Silhouette: Proximity Measure Based Diagnostics for Standard, Soft, and Multi-Way Clustering

Quantifies clustering quality by measuring both cohesion within clusters and separation between clusters. Silhouette widths are computed from the n by K matrices that clustering algorithms return (distances or similarities to cluster prototypes, fuzzy memberships, or posterior probabilities) instead of all pairwise dissimilarities, for the partition an algorithm produced or one supplied by the user. Implements the simplified silhouette of Van der Laan et al. (2003) <doi:10.1080/0094965031000136012>, the probability of alternative cluster normalization of Raymaekers and Rousseeuw (2022) <doi:10.1080/10618600.2022.2050249>, the fuzzy silhouette average of Campello and Hruschka (2006) <doi:10.1016/j.fss.2006.07.006>, the density-based silhouette of Menardi (2011) <doi:10.1007/s11222-010-9169-0>, the soft silhouettes of Bhat Kapu and Kiruthika (2024) <doi:10.1080/23737484.2024.2408534>, and the extended silhouette for multi-way clustering of Schepers et al. (2008) <doi:10.1007/s00357-008-9005-9> and Bhat Kapu and Kiruthika (2025) <doi:10.21203/rs.3.rs-6973596/v1>. Provides summaries and 'ggplot2' silhouette plots in the style of Rousseeuw (1987) <doi:10.1016/0377-0427(87)90125-7>.

Authors:Shrikrishna Bhat K [aut, cre, cph], Kiruthika C [aut]

Silhouette_0.9.7.tar.gz
Silhouette_0.9.7.zip(r-4.7-any)Silhouette_0.9.7.zip(r-4.6-any)Silhouette_0.9.7.zip(r-4.5-any)
Silhouette_0.9.7.tgz(r-4.6-any)Silhouette_0.9.7.tgz(r-4.5-any)
Silhouette_0.9.7.tar.gz(r-4.7-any)Silhouette_0.9.7.tar.gz(r-4.6-any)
Silhouette_0.9.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
Silhouette/json (API)

# Install 'Silhouette' in R:
install.packages('Silhouette', repos = c('https://kskbhat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kskbhat/silhouette/issues

Pkgdown/docs site:https://kskbhat.github.io

On CRAN:

Conda:

classificationcluster-analysisclustering-algorithmmembership-probabilityproximity-measuresilhouette

5.31 score 3 stars 17 scripts 365 downloads 9 exports 76 dependencies

Last updated from:172e0aea78. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK250
source / vignettesOK299
linux-releaseOK206
macos-releaseOK251
macos-oldrelOK239
windows-develOK207
windows-releaseOK201
windows-oldrelOK209
wasm-releaseOK132

Exports:calSilhouettecerSilhouettedbSilhouetteextSilhouettegetSilhouetteis.SilhouetteplotSilhouetteSilhouettesoftSilhouette

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11DerivdoBydplyrfarverforecastFormulafracdiffgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynompurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

Getting started with Silhouette
Which function do I need? | A first example: k-means | Scoring a partition from elsewhere | Letting a clustering function do the work | Soft and model-based clustering | Choosing the number of clusters | Where next | Session information | References

Last update: 2026-11-14
Started: 2025-07-14

Interpreting silhouette widths
Classical and simplified widths | Three properties of the simplified widths | Where the cluster labels come from | Ranges of the widths | Which comparisons are valid | Session information | References

Last update: 2026-11-14
Started: 2026-11-14

Silhouettes for soft and model-based clustering
Widths from membership probabilities | Fuzzy c-means: soft and distance-based widths coincide | Averaging and the exponent a | Comparing soft clustering algorithms | Choosing the number of clusters | Pitfalls | Session information | References

Last update: 2026-11-14
Started: 2026-11-14

Extended silhouette for block and multi-way clustering
Data with a block structure | Silhouettes for a double k-means fit | Choosing the numbers of row and column clusters | Soft block clustering | Session information | References

Last update: 2026-11-14
Started: 2026-11-14