randomSentence | R Documentation |
generate a random sentence with n words
randomSentence(n, maxchar = Inf)
n |
number of word in sentence |
maxchar |
maximal number of characters per sentence. Note that whole words (not part of words) are excluded if the maximal number is exceeded. |
a string with n words (if length is not constrained)
randomSentence(10) # one random sentence with 10 words
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.