grapes-.-plus-.-grapes: Infix versions of 'paste0' and 'paste'

Description Usage Arguments Details Source See Also Examples

Description

Infix versions of paste0 and paste.

Usage

1
a %.+.% b

Arguments

a, b

values to be pasted with either paste0(a,b) or paste.

Details

`%++%` is an infix version of paste0.
`%.+.%` is an infix version of paste.

Source

Inspired by "Infix functions" in Advanced R by Hadley Wickham.

See Also

paste, insertPaste_Addin

Examples

1
2
3
4
5
"a" %++% "b"
#> [1] "ab"

"a" %.+.% "b"
#> [1] "a b"

GegznaV/spTMP documentation built on May 6, 2019, 6:07 p.m.