summary.soundcorrs: Generate a segment-to-segment contingency table for two languages.
Description
Produce a contingency table detailing all segment-to-segment correspondences in a dataset.
Usage
# S3 method for soundcorrs
summary(object, count = "a", unit = "w", ...)
Arguments
object
[soundcorrs] The dataset from which to draw frequencies. Only datasets with two languages are supported.
count
[character] Report either the absolute number of times or words, or relative to how many times or in how many words the given segments correspond to each other. Accepted values are "a(bs(olute))" and "r(el(ative))". Defaults to "a".
unit
[character] Count how many times a correspondence occurs or in how many words it occurs. Accepted values are "o(cc(ur(ence(s))))" and "w(or(d(s)))". Defaults to "w".
[table] The contingency table. The values represent how often the given segments correspond to each other, not how often they co-occur in the same word (cf. coocc).