unitsplit: 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
Jan Philipp Dietrich, Mika Pflüger, Oliver Richters