View source: R/miscellaneous.R
adapt_reference | R Documentation |
Switch between plural or singular reference.
adapt_reference(input, sg, pl = NULL, zero = "")
input |
Vector to be checked. |
sg |
Character value to return if length of |
pl |
Character value to return if length of |
zero |
Character value to treturn if lengt of |
Either sg or pl.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.