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

Concatenation

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

Examples

# Notice the recycling
letters %R% month.abb

rebus.base

Core Functionality for the 'rebus' Package

v0.0-3
Unlimited
Authors
Richard Cotton [aut, cre]
Initial release
2017-04-25

We don't support your browser anymore

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