makeRadlibs: makeRadlibs

Description Usage Arguments Value Examples

View source: R/makeRadlibs.R

Description

makeRadlibs

Usage

1
makeRadlibs(phrase, wordset = NA)

Arguments

phrase

String including any number of the words noun, verb, adjective, adverb, plural, or interjection enclosed in curly braces

wordset

Data table of your choosing with columns "word" and "pos" at the minimum. Preferably all lowercase.

Value

New string replacing the keywords with alternatives. Hopefully funny.

Examples

1
## Not run: makeRadlibs("not sure if i should {verb} or {verb} because it's an {adjective} {noun}")

radlibs documentation built on July 15, 2020, 5:07 p.m.