Chapter 28 Tips and Tricks for Writing in R

28.1 Finding the right words

The package syn lets you find synonyms, for example:

syn::syn('open')

You can limit the number of words by specifying a second argument, in which case a random selection is returned. The package also lets you search for antonyms by using syn::ant(). For more information, see https://syn.njtierney.com/.