featfreq: Compute the frequencies of features

Description Usage Arguments Value See Also Examples

View source: R/dfm_weight.R

Description

For a dfm object, returns a frequency for each feature, computed across all documents in the dfm. This is equivalent to colSums(x).

Usage

1

Arguments

x

a dfm

Value

a (named) numeric vector of feature frequencies

See Also

dfm_tfidf(), dfm_weight()

Examples

1
2

koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.