plu: Dynamically Pluralize Phrases

Converts English phrases to singular or plural form based on the length of an associated vector. Contains helper functions to create natural language lists from vectors and to include the length of a vector in natural language.

Package details

AuthorAlexander Rossell Hayes [aut, cre, cph] (<https://orcid.org/0000-0001-9412-0457>)
MaintainerAlexander Rossell Hayes <alexander@rossellhayes.com>
LicenseMIT + file LICENSE
Version0.2.1
URL https://plu.rossellhayes.com https://github.com/rossellhayes/plu
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("plu")

Try the plu package in your browser

Any scripts or data that you put into this service are public.

plu documentation built on April 8, 2021, 1:06 a.m.