freqlist_diff {mclm} | R Documentation |
Subtract frequency lists
Description
This function merges information from two frequency lists, subtracting the frequencies found in the second frequency lists from the frequencies found in the first list.
Usage
freqlist_diff(x, y)
Arguments
x , y |
Objects of class |
Value
An object of class freqlist
.
Examples
(flist1 <- freqlist("A first toy corpus.", as_text = TRUE))
(flist2 <- freqlist("A second toy corpus.", as_text = TRUE))
freqlist_diff(flist1, flist2)
[Package mclm version 0.2.7 Index]