makeLabel: makeLabel Convert a vector of numbers or strings into a...

Description Usage Arguments Value Examples

View source: R/cpuefuncs.r

Description

makeLabel Convert a vector of numbers of strings into a single label

Usage

1
makeLabel(invect, insep = "_")

Arguments

invect

the vector of numbers or strings to be converted into a single string.

insep

defaults to '_' but can be any selected character used to separate each value

Value

a character string containing the invect as a single string.

Examples

1
2
3
x <- c(1,2,3,4,5)
makeLabel(x)
makeLabel(x,"-")

haddonm/r4cpue documentation built on May 11, 2020, 1:31 a.m.