outlier_detect(text.var, grouping.var = NULL, FUN = word_count, scale.by = "grouping")
NULL
generates
one word list for all text. Also takes a single grouping variable or a list
of 1 or more grouping variables.syllable_sum
, character_count
or word_count
)."all"
, "grouping"
, or "both"
. Default NULL scales
by all.Returns a dataframe with possible outliers.
Locate possible outliers for text variables given numeric word function.
## <strong>Not run</strong>: # 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) # ## <strong>End(Not run)</strong>