View source: R/iclogcondist_functions.R
unique_X_weight | R Documentation |
This function finds the unique rows of a given matrix and calculates the frequency (weight) of each unique row. It returns both the unique rows and the weights (the number of occurrences of each row).
unique_X_weight(X)
X |
A matrix. The matrix whose unique rows are to be found. |
A list containing two components:
A matrix of the unique rows from the input matrix.
An integer vector containing the frequency (weight) of each unique row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.