summary.wfm: Summarize a wfm object

Description Usage Arguments Details Examples

View source: R/wfm.R

Description

Summarize a wfm object with familiar tm package look.

Usage

1
2
## S3 method for class 'wfm'
summary(object, ...)

Arguments

object

The wfm object

...

Ignored.

Details

Non-/sparse entries is the ratio of non-zeros to zero counts. Sparsity is that ratio represented as a percent. Hapax legomenon is the number(percent) of terms that appear only once in the dialogue. Dis legomenon is the number(percent) of terms that appear exactly two times once.

Examples

1
2
3
4
5
## Not run: 
x <- with(DATA, wfm(state, list(sex, adult)))
summary(x)

## End(Not run)

trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.