This function applies to co-occurrence data. It calculates a similarity
matrix using one of the following indices: Association Strength, Jaccard,
Cosine, or Inclusion (for a detailed discussion see van Eck & Waltman, 2009,
<doi:10.1002/asi.21075>). Additionally, the function can also generate a
sorted, aggregated, or dichotomized version of the input data table. The
first column of the input matrix should contain the ID of the unit of
comparison, and the following columns the categories for which the
similarity is calculated. Lines belonging to the same unit of comparison
(i.e. same ID) will be combined. simi is particularly suitable for
not sorted, not aggregated, or not dichotomized datasets. For datasets
already sorted, aggregated, and dichotomized, the package proxy of
Meyer and Buchta offers an alternative to calculate similarity matrices.
simi does not work with missing data.