Description Usage Arguments Value Examples

Get a table of term frequencies.

1 2 3 4 5 6 7 |

`d` |
The corpus from which term frequencies are calculated. |

`topN` |
If specified, only the 'topN' most frequent terms are returned. If more terms are requested than available, all terms are returned. If both 'topN' and 'percent' are zero, then all terms are returned. |

`percent` |
If specified, only the top 'percent' % most frequent terms are returned. If more terms are requested than available, all terms are returned. If both 'topN' and 'percent' are zero, then all terms are returned. |

`sorted` |
A string specifying how to sort the terms. 'none' for no sorting, 'alpha' for alphanumeric sorting, and 'freq' for sorting by frequency. |

`decreasing` |
If TRUE, terms are sorted in decreasing order, if FALSE, sorted ascending order. |

`useDocFreq` |
If TRUE, the returned frequencies are for the total number of documents in which the term occurs. If false, they are the total number of occurrences. |

`minFreq` |
Terms with *TOTAL* frequencies below this threshold will not be included in the output. |

A name vector of the term frequencies.

1 2 3 4 |

DeducerText documentation built on May 31, 2017, 3:45 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.