Description Usage Arguments Value References Examples
View source: R/get_lu_frame_table.R
The function is designed to easily retrieve a tibble data frame of the top-n most frequent frame-evoking Lexical Units (LU) of the prominent metaphors discussed in Rajeg (2019, Chapter 5 and 6).
1 2 3 4 5 6 7 8 9 10 11 12 13 |
metaphor |
regular expressions for the relevant metaphor. |
word |
character strings of regular expressions for the HAPPINESS synonyms. |
print_all |
logical; print all output |
top_n |
logical; limit to the top-n LUs |
limit |
integer; maximum rows to be printed from the top-n LUs |
df |
the data frame ( |
metaphor_var |
character string for the column name of the metaphor variable (i.e., |
frame_var |
character string for the column name of the source frame variable (i.e., |
synonym_var |
character string for the column name of the synonyms variable (i.e., |
lexunit_var |
character string for the column name of the lexical unit variable (i.e., |
lexunit_gloss_var |
character string for the column name of the gloss of the lexical units (i.e., |
A tibble/data frame of the descriptive statistics of the LUs and the frames, including the gloss of the LUs.
Rajeg, G. P. W. (2019). Metaphorical profiles and near-synonyms: A corpus-based study of Indonesian words for HAPPINESS (PhD Thesis). Monash University. Melbourne, Australia. https://doi.org/10.26180/5cac231a97fb1.
1 2 3 4 5 6 7 8 9 10 11 12 | # for the aggregated data
get_lu_frame_table(metaphor = "possessable",
top_n = TRUE,
limit = 20,
df = phd_data_metaphor)
# for a specific synonym
get_lu_frame_table(metaphor = "possessable",
word = "^bahagia$",
top_n = TRUE,
limit = 20,
df = phd_data_metaphor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.