unitsplit {magclass}R Documentation

splits a data.frame or vector of strings with form 'variable (unit)' into a data.frame with variable and unit separated

Description

splits a data.frame or vector of strings with form 'variable (unit)' into a data.frame with variable and unit separated

Usage

unitsplit(x, col = "variable")

Arguments

x

data.frame or vector of strings

col

column name. Default: variable

Author(s)

Jan Philipp Dietrich, Mika Pflüger, Oliver Richters


[Package magclass version 6.13.2 Index]