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

Examples

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

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

GegznaV/spMisc documentation built on April 26, 2020, 5:59 p.m.