Convert columns to numeric if appropriate

Share:

Description

Converts columns in a data.frame to numeric is they can be converted without producing NAs.

Usage

1

Arguments

table

(data.frame)

columns

(character or numeric) A subset of columns to attempt to convert.

Value

data.frame

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