pamk: Partitioning around medoids with estimation of number of clusters
Description
This calls the function pam to perform a
partitioning around medoids clustering with the number of clusters
estimated by optimum average silhouette width.
a data matrix or data frame, or dissimilarity matrix or
object. See pam for more information.
krange
integer vector. Numbers of clusters which are to be
compared by the average silhouette width criterion. Note: This can't
estimate number of clusters nc=1, and therefore 1 should not be in
krange.
scaling
either a logical value or a numeric vector of length
equal to the number of variables. If scaling is a numeric
vector with length equal to the number of variables, then each
variable is divided by the corresponding value from
diss
logical flag: if TRUE (default for dist or
dissimilarity-objects), then data will be considered
as a dissimilarity matrix. If FALSE, then data will
be considered as