R/get_lu_table.R
get_lu_table.Rd
The function is designed to easily retrieve a tibble data frame of the top-n most frequent Lexical Units (LU) of the prominent metaphors discussed in Chapter 5 and 6.
get_lu_table(metaphor = "regular expressions", top_n_only = TRUE, top_n_limit = 10, df = NULL, submapping_perc = FALSE, incl_submappings = FALSE)
metaphor | regular expressions for the relevant metaphor. |
---|---|
top_n_only | logical; the default is |
top_n_limit | integer; how many most frequent LU should be printed? The default is |
df | the data frame for the thesis ( |
submapping_perc | logical; wheter to include the percentages of the LU by submappings. If |
incl_submappings | logical; whether to include the submappings inferred from the LU ( |
A tbl_df.
Rajeg, G. P. W. (2018). Metaphorical profiles and near-synonyms: A corpus-based study of Indonesian words for HAPPINESS. PhD Thesis. Monash University. Melbourne, Australia.
get_lu_table(metaphor = "destination", df = phd_data_metaphor)#> # A tibble: 0 x 4 #> # ... with 4 variables: Lexical_units <chr>, Gloss <chr>, N <int>, #> # Perc_overall <dbl>