Skip to contents

Convert all dataframe cols named in the col_names to a numeric value

Usage

cols_to_numeric(df, col_names = NULL)

Arguments

df

the dataframe to modify

col_names

a list of column names which will be converted to numeric