ptrunc | R Documentation |
Paste and Truncate
ptrunc(..., width = 40L, sep = ", ", collapse = ", ", dots = " ...")
... |
one or more R objects, to be converted to character vectors. |
width |
(maximum) width of result |
sep |
a character string to separate the terms. Not
|
collapse |
an optional character string to separate the results. Not
|
dots |
|
x |
a vector |
a character
scalar
ptrunc(month.abb)
ptrunc(month.abb, month.name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.