%++% | R Documentation |
For matrices a block-diagonal matrix is created. For all other
data types he operator is a wrapper of paste
.
x %++% y
x |
First object |
y |
Second object of same class |
Concatenation operator
Klaus K. Holst
blockdiag
, paste
, cat
,
## Block diagonal
matrix(rnorm(25),5)%++%matrix(rnorm(25),5)
## String concatenation
"Hello "%++%" World"
## Function composition
f <- log %++% exp
f(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.