Learn R Programming

qdap (version 2.4.6)

summary.wfm: Summarize a wfm object

Description

Summarize a wfm object with familiar tm package look.

Usage

# S3 method for 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

Run this code
if (FALSE) {
x <- with(DATA, wfm(state, list(sex, adult)))
summary(x)
}

Run the code above in your browser using DataLab