Convert Columns

Description

Internal helper function.

Usage

1
2
colConvert(data, columns = "Height|Size|Data.Point", ignore.case = TRUE,
  fixed = FALSE, debug = FALSE)

Arguments

data

data.frame.

columns

character string containing a regular expression (or character string for fixed = TRUE) to be matched in the given character vector (separate multiple column names by | in reg.exp).

ignore.case

logical TRUE to ignore case in matching.

fixed

logical TRUE if columns is a string to be matched as is.

debug

logical indicating printing debug information.

Details

Takes a data frame as input and return it after converting known numeric columns to numeric.

Value

data.frame.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.