colConvert: Convert Columns

Description Usage Arguments Details Value

View source: R/colConvert.r

Description

Internal helper function.

Usage

1
2
3
4
5
6
7
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.


strvalidator documentation built on July 10, 2020, 5:07 p.m.