Description Usage Arguments Value Examples
View source: R/assoc_prepare_dca.R
A function to generate input table for performing Distinctive Collexeme Analysis.
1 | assoc_prepare_dca(assoc_tb_df = NULL)
|
assoc_tb_df |
The nested tibble output from |
A tibble with columns for collocates, frequency of the collocates with Construction/Word A and B, other frequencies in the cross-tabulation (i.e. Cell C and D), and the Expected frequencies of the collocates with Construction/Word A as the reference item.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# run assoc_prepare() first from the output of colloc_leipzig()
assoc_tb <- assoc_prepare(colloc_out = colloc_leipzig_output,
window_span = "r1",
per_corpus = FALSE,
stopword_list = NULL,
float_digits = 3L)
# then run assoc_prepare_dca()
dca_tb <- assoc_prepare_dca(assoc_tb)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.