pairwiseSCDistance: Pairwise shared Cognate distance

Description Usage Arguments

View source: R/SharedCognateDistance.R

Description

This calculates a distance based on the amount of shared cognates. Two languages share a cognate for a word if they have at least one cognate code in common for that word (e.g. if language 1 has for the concept cognate "1, 2" and language 2 has "1, 3", they share a cognate). The distance is then the proportion of concepts, where these two languages do not share a cognate.

Usage

1
pairwiseSCDistance(lang1, lang2, alignment)

Arguments

lang1

row index of the first language in the alignment

lang2

row index of the second language in the alignment

alignment

alignment matrix as created by createAlignmentMatrix()


KonstantinHoffmann/ABVDTools documentation built on Dec. 14, 2021, 11:48 a.m.