Description Usage Arguments Value Examples
Coerces a frequency list to a data frame
1 2 | ## S3 method for class 'freqlist'
as.data.frame(x, ...)
|
x |
the object |
... |
the argument |
This function returns a data frame.
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."
(flist <- freqlist(toy_corpus, as_text = TRUE))
as.data.frame(flist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.