Description Usage Arguments Value Examples
This function is simply a wrapper of rep
, but allows different structures of input.
For rewriting more texts in the same time, see m2doc
.
1 | tf2doc(term, num)
|
term |
terms that you want to rewrite into a text. A character vector is preferred, but
matrix, list, data frame are also OK. |
num |
frequencies of terms in |
a character vector. Terms are pasted with a space.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.