Description Usage Arguments Details Value Examples
View source: R/getSilhouette.R
getSilhouette
is a generic function that compute silhouette coefficient
for an object of the type pca
, spca
, pls
, spls
,
block.pls
, block.spls
.
1 | getSilhouette(object)
|
object |
a mixOmics object of the class |
This method extract the componant contribution depending on the object, perform the clustering step, and compute the silhouette coefficient.
silhouette coefficient
1 2 3 4 5 6 7 | demo <- suppressWarnings(get_demo_cluster())
getSilhouette(object = demo$pca)
getSilhouette(object = demo$spca)
getSilhouette(object = demo$pls)
getSilhouette(object = demo$spls)
getSilhouette(object = demo$block.pls)
getSilhouette(object = demo$block.spls)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.