correlation_central_element | R Documentation |
Calculates maximum similarity/correlation between any single element of group and all other elements
correlation_central_element(correlation_data, elements)
correlation_data |
Data.frame or matrix of similarity scores / correlations containing at a minimum all elements. This df should be symmetrical - i.e. have equivalent values for row A to column B and row B to column A |
elements |
Character vector of the set of elements ( i.e. features ) from which to determine greatest similarity. Values must be a subset of correlation_data row and column names |
Returns the name of the element that is most similar to all other elements in the set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.