Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

op_concat

Concatenation operator


Description

For matrices a block-diagonal matrix is created. For all other data types he operator is a wrapper of paste.

Usage

x %++% y

Arguments

x

First object

y

Second object of same class

Details

Concatenation operator

Author(s)

Klaus K. Holst

See Also

blockdiag, paste, cat,

Examples

## Block diagonal
matrix(rnorm(25),5)%++%matrix(rnorm(25),5)
## String concatenation
"Hello "%++%" World"
## Function composition
f <- log %++% exp
f(2)

lava

Latent Variable Models

v1.6.10
GPL-3
Authors
Klaus K. Holst [aut, cre], Brice Ozenne [ctb], Thomas Gerds [ctb]
Initial release
2021-09-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.