StrToNum: Convert string columns (w expressions) to numeric

Description Usage Arguments Value

Description

Deal with string columns mainly, evaluate expressions embedded in string columns with eval() and replace with numeric columns. Bug fixed (Aug 22): preserve dimemsion using drop = F in apply()

Usage

1
StrToNum(raw.df, exclude = NULL)

Arguments

raw.df

dataframe with string columns

exclude

vector of strings/names of columns excluded from the operation, default: NULL

Value

dataframe with string columns converted and evaluated as numeric columns


hughshuwang/isocyanate documentation built on May 30, 2019, 7:17 a.m.