merge_freqlist | R Documentation |
These functions merge two or more frequency lists, adding up the frequencies. In the current implementation, original ranks are lost when merging.
freqlist_merge(x, y) freqlist_merge_all(...)
x, y |
An object of class |
... |
Various objects of class |
An object of class freqlist
.
(flist1 <- freqlist("A first toy corpus.", as_text = TRUE)) (flist2 <- freqlist("A second toy corpus.", as_text = TRUE)) (flist3 <- freqlist("A third toy corpus.", as_text = TRUE)) freqlist_merge(flist1, flist2) freqlist_merge_all(flist1, flist2, flist3) freqlist_merge_all(list(flist1, flist2, flist3)) # same result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.