Description Usage Arguments Value
View source: R/matstat_utils.R
collapse
is a fast version of
apply(x, along_dim, paste, collapse = "")
. It also works on vectors.
1 |
x |
vector, matrix or data.frame |
col |
logical value; if TRUE (default), elements are collapsed column-wise. |
collapse
always returns a character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.