Description Usage Arguments Details Value
View source: R/DistanceMatrix.R
Create a matrix of pariwise distances between languages. Takes as input eighter a set of languages or an alignment matrix
1 2 |
languages |
ids of the languages |
alignment |
alignment matrix consisting of 0, 1, ?. If alignment=NULL, then it will be created with the language IDs. |
type |
one of "Hamming" or "Jaccard" |
silent |
report progress or not |
... |
further arguments |
Optional arguments are:
removeMissings: (default TRUE): removes all ? in the sequence and only considers entries, where both languages in comparison have data
removeZeroes: (default: FALSE): if TRUE, only consider entries, where at least one of the two languages have a 1
a matrix of pairwise distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.