Description Usage Arguments See Also Examples
Concatenates object values into a string with each value separated by a comma and possibly the last value separated by a conjunction.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Default S3 method:
cc(object, conjunction = NULL, bracket = "",
ellipsis = 10, oxford = FALSE, ...)
## S3 method for class 'character'
cc(object, conjunction = NULL, bracket = "'",
ellipsis = 10, oxford = FALSE, ...)
## S3 method for class 'factor'
cc(object, conjunction = NULL, bracket = "'",
ellipsis = 10, oxford = FALSE, ...)
## S3 method for class 'data.frame'
cc(object, conjunction = NULL, ellipsis = 10,
oxford = FALSE, ...)
|
object |
The object with values to concatenate. |
conjunction |
A string of the conjunction to separate the last value by or NULL. |
bracket |
A string to bracket the values by. |
ellipsis |
A count of the total number of values required to use an ellipsis. |
oxford |
A flag indicating whether to use the Oxford comma (if conjunction). |
... |
Unused |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.