Description Usage Arguments Value Examples
Cohorts that are not neighbors
1 2 3 4 5 6 7 8 | get_cohortsP(
target,
lexicon,
neighbors = "das",
sep = " ",
form = FALSE,
count = FALSE
)
|
target |
Character string containing a target word |
lexicon |
Character vector containing the lexical database |
neighbors |
(get_neighbors only) Character vector specifying the type of neighbor to return. Return the delete, add, substitute neighbors of the target when 'd', 'a', and/or 's' is in neighbors respectively |
sep |
Separator in target and lexicon |
form |
Whether to return words in lexicon |
count |
Whether to return count of words |
the indexes of the competitors in the lexical database
1 | get_cohortsP("AA R K", c("AA R K", "AA R", "B AA B"), neighbors = "das")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.