outlier.detect: Detect Outliers in Text

Description Usage Arguments Value Examples

Description

Locate possible outliers for text variables given numeric word function.

Usage

1
2
  outlier.detect(text.var, grouping.var = NULL,
    FUN = word.count, scale.by = "grouping")

Arguments

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. syllable.sum, character.count or word.count).

scale.by

A character string indicating which dimensions to scale by. One of "all", "grouping", or "both". Default NULL scales by all.

Value

Returns a dataframe with possible outliers.

Examples

1
2
3
4
5
6

trinker/qdap2 documentation built on May 31, 2019, 9:47 p.m.