Description Usage Arguments Examples
Paste elements in each row together.
1 | paste.rows(x, collapse = " ", digits = NA)
|
x |
Matrix or data.frame. |
collapse |
Character. String to separate column values. |
digits |
Integer. Number of decimal places to use for floating- point numbers. |
1 2 3 | df <- data.frame(id=1:10, vals=rnorm(10))
paste.rows(df, '|')
paste.rows(df, '|', 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.