Description Usage Arguments Value Examples
This function receives a matrix where each row is a binary vector (e.g. symptoms' presence vector) and returns the corresponding NxN similarity matrix (pair-wise similarities) using the Adjusted Hubert-Arabie RAND index (ARI).
| 1 2 3 4 5 6 7 | similarity_matrix(
  mat,
  concords = vecs2concords(mat),
  simil_measure = "ARI",
  reactive_dom = NULL,
  incProg_amount = 1
)
 | 
| mat | matrix | 
| concords | list of concordance matrices (defaults to vecs2concords(mat)) to be compared. | 
| simil_measure | string value, similarity function used, can be either 'ARI' (default) or 'Euclidean'. | 
| reactive_dom | reactive domain in case used in a shiny app (will be used by incProgress()). | 
| inProg_amount | real number in [0,1], the amount of status bar to fill up (default is 1), in case used in a shiny app (will be used by incProgress()). | 
the corresponding NxN similarity matrix (pair-wise similarities) using the Adjusted Hubert-Arabie RAND index (ARI).
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.