Description Usage Arguments Details Value Examples
simicount
calculates a similarity matrix for sorting data.
1 |
data |
Dataset; one row represents one sorting, objects in one pile must have the same number. |
This function is applicable to sorting data. It creates a similarity matrix showing how often two objects were in the same pile. Each line of the dataset should refer to one sorting. The first column of the input matrix should contain the ID of the sorting; the following columns refer to the objects that have been sorted. The allocation of objects to piles is indicated with numbers; for each line, the objects that were sorted into the same pile are given the same number (e.g. all objects with a "1" are in one pile, all objects with a "2" are in one pile, etc.). This function does not work with missing values.
Similarity matrix.
1 2 3 4 | ## Calculating similarities using sorted data
data(SDG_grouping)
similarities <- simicount(SDG_grouping)
head(similarities)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.