Description Usage Arguments Value Examples
Locate possible outliers for text variables given numeric word function.
1 2 | outlier.detect(text.var, grouping.var = NULL,
FUN = word.count, scale.by = "grouping")
|
text.var |
The text variable. |
grouping.var |
The grouping variables. Default NULL generates one word list for all text. Also takes a single grouping variable or a list of 1 or more grouping variables. |
FUN |
A word function with a numeric vector output
(e.g. |
scale.by |
A character string indicating which
dimensions to scale by. One of |
Returns a dataframe with possible outliers.
1 2 3 4 5 6 | with(DATA, outlier.detect(state))
with(DATA, outlier.detect(state, FUN = character.count))
with(DATA, outlier.detect(state, person, FUN = character.count))
with(DATA, outlier.detect(state, list(sex, adult), FUN = character.count))
with(DATA, outlier.detect(state, FUN = syllable.sum))
htruncdf(with(raj, outlier.detect(dialogue, person)), 15, 45)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.