getSilWidthsDf | R Documentation |
Extracts a data.frame that contains information about the silhouette width of every observation in different clustering results with method pam.
getSilWidthsDf(object, ...)
## S4 method for signature 'Clustering'
getSilWidthsDf(object, ks, method_pam = "euclidean", format = "long")
## S4 method for signature 'Analysis'
getSilWidthsDf(object, ks, method_pam = "euclidean", format = "long")
## S4 method for signature 'ClusteringPam'
getSilWidthsDf(object, ks, method_pam = "euclidean", format = "long")
object |
Any object for whose class a method has been defined. |
ks |
Numeric vector. Denotes all options for k-clusters. Values <1 are discarded. Is converted into an integer vector. |
format |
Character value. Either 'long' or 'wide'. Shifts the perspective of the output data.frame. |
Data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.