Description Usage Arguments Value References Examples
View source: R/get_meta_freq_profile.R
Select a (set of) frequency profile column(s) for a metaphor
1 2 3 4 5 6 | get_meta_freq_profiles(
metaphor = NULL,
...,
metaphor_var = "metaphors",
df = NULL
)
|
metaphor |
character string of regular expressions for the metaphors. |
... |
any bare variable/column name of the frequency profiles from |
metaphor_var |
character string for the column name of the metaphor variable (i.e., |
df |
data frame storing the results of |
A tibble data frame
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 | # perform ttr
ttr_metaphor <- ttr(phd_data_metaphor,
schema_var = "metaphors",
lexunit_var = "lu",
float_digits = 2)
# retrieve the profile
get_meta_freq_profiles("food", # regex for the metaphor
token, type_lu, type_per_token_lu, # inputs for the dot-dot-dot (...)
metaphor_var = "metaphors",
df = ttr_metaphor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.