change_to_num {mikropml} | R Documentation |
Change columns to numeric if possible
Description
Change columns to numeric if possible
Usage
change_to_num(features)
Arguments
features |
dataframe of features for machine learning |
Value
dataframe with numeric columns where possible
Author(s)
Zena Lapp, zenalapp@umich.edu
Examples
## Not run:
class(change_to_num(data.frame(val = c("1", "2", "3")))[[1]])
## End(Not run)
[Package mikropml version 1.6.1 Index]