Description Usage Arguments Details Value See Also Examples
Generate all correspondence-to-correspondence or correspondence-to-metadata contingnecy tables for a dataset.
1 |
data |
[soundcorrs] The dataset from which to draw frequencies. Only datasets with two languages are supported. |
column |
[character] Name of the column with metadata. If |
count |
[character] Report the absolute number of times or words, or relative to how many times or in how many words the given segments co-occur in L1 or L2. Accepted values are |
unit |
[character] Count how many times a correspondence occurs or in how many words it occurs. Accepted values are |
bin |
[logical] Whether to bin tables before applying |
A contingency table such as produced by coocc
may be insightful but more often than not statistical tests cannot be applied directly to it, or at least they would not produce meaningful results. This function splits such a table into blocks such that each block only contains the correspondences of a single segment. The resulting slices, additionally binned or not (cf. binTable
), can be then passed to lapplyTest
for a near-automatic application of a test.
[list] A list of tables.
1 2 3 | dataset <- loadSampleDataset ("data-abc")
allCooccs (dataset)
allCooccs (dataset, "DIALECT.L2", unit="o")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.