Description Usage Arguments Value Examples
Compute collostructional strength based on the chi-square contribution.
It internally calls the utility function chisq_compute and performs a row-wise computation using map_dbl.
1 | collex_chisq(df, collstr_digit = 3)
|
df |
The output of |
collstr_digit |
The floating digits of the collostruction strength. The default is |
A tibble consisting of the collocates (column w),
co-occurrence frequencies with the node (column a),
the expected co-occurrence frequencies with the node (column a_exp),
the direction of the association (e.g., attraction or repulsion) (column assoc),
the chi-square-based collostruction strength (column chisq), and two uni-directional association measures of Delta P.
1 2 3 4 5 6 7 | out <- colloc_leipzig(leipzig_corpus_list = demo_corpus_leipzig,
pattern = "mengatakan",
window = "r",
span = 3L,
save_interim = FALSE)
assoc_tb <- assoc_prepare(colloc_out = out, stopword_list = stopwords)
am_chisq <- collex_chisq(df = assoc_tb, collstr_digit = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.