Concatenation {rebus.base}R Documentation

Combine strings together

Description

Operator equivalent of regex.

Usage

x %c% y

x %R% y

Arguments

x

A character vector.

y

A character vector.

Value

A character vector representing part or all of a regular expression.

Note

%c% was the original operator for this ('c' for 'concatenate'). This is hard work to type on a QWERTY keyboard though, so it has been replaced with %R%.

See Also

regex, paste

Examples

# Notice the recycling
letters %R% month.abb

[Package rebus.base version 0.0-3 Index]