Description Usage Arguments Value Examples
Computes the class term frequency matrix for a given corpus.
1  | calc_class_term_frequency(class.labels, vocab, doc.class.labels, documents)
 | 
class.labels | 
 A vector of true class names  | 
vocab | 
 a vector of words in the vocabulary  | 
doc.class.labels | 
 a vector of document classes  | 
documents | 
 a list documents read via   | 
The class term frequency matrix
1 2 3 4 5 6 7 8  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.