Description Usage Arguments Details Value Author(s) See Also Examples
paste arguments by name=value
1 | pasteCollapseNamed(x, collapse = ",", digits = 4L)
|
x |
object to be collapsed into string |
collapse |
delimited to separate items in vector x |
digits |
number of digits for numeric values |
If x is a list, then pasteHead
is applied to each item.
a scalar string, surrounded by () if x is not a scalar.
Thomas Wutzler
1 2 3 4 | pasteCollapseNamed( c(a=1) )
pasteCollapseNamed( c(a=pi,b=2) )
pasteCollapseNamed( c() )
pasteCollapseNamed( tmp <- list(aSub=list(c(a1=pi,a2=2,a3=3,a4=4)),b="b",c=c()) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.