R/FishEconProdOutput.R
listABandC.Rd
This function alows you to take a string of words and combine them into a sentance list. For example, 'apples', 'oranges', 'pears' would become 'apples, oranges, and pears'. This function uses oxford commas.
listABandC(x)
x | Character strings you want in your string. |
---|
#> [1] "1, 2, hello, 4, world, and 6"