regressoR (version 1.1.8)

combine_names: combine_names

Description

combine two string vector by grouping according to the first vector.

Usage

combine_names(x, y, sep = ".")

Arguments

x

a vector to combine with y. The combination is grouped by this parameter.

y

a vector to combine with x.

sep

a string with the separator characters.

Value

a vector with the combination of x and y.

Examples

Run this code
# NOT RUN {
x = c("A", "B", "C")
y = c("1", "2", "3")
combine_names(x, y)

# }

Run the code above in your browser using DataLab