Learn R Programming

translateSPSS2R (version 1.0.0)

computeConcat: computeConcat (x, sep = "")

Description

Helper Function for xpssCompute. R Implementation of the SPSS CONCAT Function.

Usage

computeConcat (x, sep = "")

Arguments

x
input data.
sep
atomic character element which splits the input data. Default is "".

Value

String. Returns a string that is the concatenation of all its arguments.

See Also

paste0

Examples

Run this code
data(fromXPSS)
xpssCompute(x = fromXPSS, variables = c("V1","V2"), fun="computeConcat")

Run the code above in your browser using DataLab