as_freqlist: Coerce table to a frequency list

Description Usage Arguments Value Examples

Description

Coerces a table to a frequency list

Usage

1

Arguments

x

the object x must be an oject of the class "table".

Value

This function returns an object of the class "freqlist".

Examples

1
2
3
4
toy_corpus <- "Once upon a time there was a tiny toy corpus.
It consisted of three sentence. And it lived happily ever after."
tokens <- tokenize(toy_corpus)
as_freqlist(table(tokens))

wai-wong-reimagine/mclm documentation built on May 16, 2019, 9:12 p.m.