summary.wfm: Summarize a wfm object

View source: R/wfm.R

summary.wfmR Documentation

Summarize a wfm object

Description

Summarize a wfm object with familiar tm package look.

Usage

## 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

## Not run: 
x <- with(DATA, wfm(state, list(sex, adult)))
summary(x)

## End(Not run)

qdap documentation built on May 31, 2023, 5:20 p.m.