convert_columns_to_numeric: Converts specific columns to numeric.

Description Usage Arguments Details Value

View source: R/convert_columns_to_numeric.R

Description

At first, all imported columns are characters/strings. But of cource, most data in the columns are numeric values. This function makes an educated guess to find all columns that contain numeric values.

Usage

1

Arguments

df

dataframe

Details

This is done in several steps: - make all values to label missing values NA - set decimal marks to . - guess which colums should be numeric by setting as.numeric if there are no [A-z] characters in the column

Value

dataframe


cutterkom/destatiscleanr documentation built on June 3, 2020, 4:09 p.m.