Diff of /man/getSilhouette.Rd [000000] .. [d79ff0]

Switch to unified view

a b/man/getSilhouette.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/getSilhouette.R
3
\name{getSilhouette}
4
\alias{getSilhouette}
5
\title{Get Silhouette Coefficient from (s)PCA, (s)PLS or block.(s)PLS clusters}
6
\usage{
7
getSilhouette(object)
8
}
9
\arguments{
10
\item{object}{a mixOmics object of the class \code{pca}, \code{spca}, \code{pls}, \code{spls}, \code{block.pls}, \code{block.spls}}
11
}
12
\value{
13
silhouette coefficient
14
}
15
\description{
16
\code{getSilhouette} is a generic function that compute silhouette coefficient
17
for an object of the type \code{pca}, \code{spca}, \code{pls}, \code{spls},
18
\code{block.pls}, \code{block.spls}.
19
}
20
\details{
21
This method extract the componant contribution depending on the object,
22
perform the clustering step, and compute the silhouette coefficient.
23
}
24
\examples{
25
demo <- suppressWarnings(get_demo_cluster())
26
getSilhouette(object = demo$pca)
27
getSilhouette(object = demo$spca)
28
getSilhouette(object = demo$pls)
29
getSilhouette(object = demo$spls)
30
getSilhouette(object = demo$block.pls)
31
getSilhouette(object = demo$block.spls)
32
33
34
}