Description Usage Arguments Details Value Author(s)
Read the similarity (or dissimilarity) information between the objects that one wants to order and build a 3-columns data frame
, where each row (i, j, A_{ij}) represents the (dis)similarity A_{ij} between objects i and j. In case of symmetric data (i.e., A_{ij} = A_{ji}), only the entries for pairs (i,j) with i<j are listed.
1 |
data |
a representation of the similarity (or dissimilarity) between pairs of objects. |
zero_epsilon |
a numerical value which determines that values in |
symmetric |
a boolean value equal to |
identical_val |
a boolean value equal to |
The input data can be a weighted adjacency matrix (represented by the objects: matrix
, dist
or data frame
), or a list of all the weighted edges of a weighted graph (represented by a 3-col data frame
) where each row (i, j, A_{ij}) represents the (dis)similarity A_{ij} between objects i and j with i<j). If not specified, the data is assumed to be symmetric (i.e., same entry at positions (i,j) and (j,i)). Since by default the data is assumed to be symmetric, if it is represented by a 3-columns data frame
, then it is assumed that symmetric pairs are not listed, and thus by default identical_val = FALSE
. The reason for this choice is that for large symmetric data, it is more efficient to list the symmetric entries only once.
However, note that if symmetric = FALSE
then identical_val = TRUE
automatically.
Returns a 3-columns data frame
representation of the original data listing all the pairwise (dis)similarities (i, j, A_{ij}) between objects and selecting only the entries A_{ij} with i<j when the data is a symmetric matrix A.
Matteo Seminaroti (SFS) and Utz-Uwe Haus (R wrapping)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.