WH.correlation | R Documentation |
Compute the correlation matrix of a MatH
object, i.e.
a matrix of values consistent with
a set of distributions equipped with a L2 wasserstein metric.
WH.correlation(object, ...) ## S4 method for signature 'MatH' WH.correlation(object, w = numeric(0))
object |
a |
... |
some optional parameters |
w |
it is possible to add a vector of weights (positive numbers)
having the same size of the rows of the |
a squared matrix
with the (weighted) correlations indices
Irpino, A., Verde, R. (2015) Basic statistics for distributional symbolic variables: a new metric-based approach Advances in Data Analysis and Classification, DOI 10.1007/s11634-014-0176-4
WH.correlation(BLOOD) # generate a set of random weights RN <- runif(get.MatH.nrows(BLOOD)) WH.correlation(BLOOD, w = RN)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.