get_nfreq | R Documentation |
Calculates the neighborhood frequency of a word based on Levenshtein edit distance of 1
get_nfreq(stimuli, database)
stimuli |
A character vector containing words or nonwords to calculate the degree of. |
database |
A dataframe that must contain a |
A dataframe with stimuli
and corresponding neighborhood frequency (average frequency of its neighbors).
# load a database first # get_nfreq(stimuli = c('xbet', 'gEt', 'hWs', 'xgEnst'), database = data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.