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 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.