fix_concat {clickR}R Documentation

fix_concat

Description

Fixes concatenated values in a variable

Usage

fix_concat(x, varname, sep = ", |; | ", track = TRUE)

Arguments

x

A data.frame

varname

Variable name

sep

Separator for the different values

track

Track changes?

Examples

mydata <- data.frame(concat=c("a", "b", "a b" , "a b, c", "a; c"),
numeric = c(1, 2, 3, 4, 5))
fix_concat(mydata, "concat")

[Package clickR version 0.8.0 Index]