Description Usage Arguments Details Value Author(s) References See Also Examples
Computes list that allows to start hierarchical method with leaders from leaders method (takes size and units of clusters from leaders method into consideration)
1 | from.Leaders(data, clustering, as.probs = FALSE, penalty = 1e+06)
|
data |
Dataframe or matrix of units (in rows). Rows can represent probabilities or frequencies. |
clustering |
Clustering (vector) that one get from |
as.probs |
|
penalty |
Parameter to specify how should division with zero be treated. |
Function computes a list that can be used as input into hierarch
method when one chains it after leaders
method. It takes care of sizes for each cluster (from leaders method), for sum of units and for harmonic sum of units (for each cluster).
The result is a list of
size |
Vector of sizes for each cluster that one gets from |
sum |
Matrix of summed units for every cluster that one gets from |
harmonic |
Matrix of harmonic sum of units that one gets from |
Kejzar, N., Korenjak-Cerne, S. and Batagelj, V.
N. Kejzar, S. Korenjak-Cerne, and V. Batagelj: Clustering of distributions : A case of patent citations.J. classif., 2011, 28, doi: 10.1007/s00357-011-9084-x.
hierarch
,leaders
,kmeans
from standard package, pam
from package cluster
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.