plr_convert_columns {PVplr} | R Documentation |
Converts appropriate columns to numeric without specifying the name of the column. All columns from hbase are read as factors. Columns are tested to see if they should be numeric by forcing conversion to numeric. Columns that subsequently contain NA's are not numeric; if not, they are set to numeric.
plr_convert_columns(df)
df |
A dataframe containing pv data. |
Returns original dataframe with columns corrected to proper classes
df <- PVplr::plr_convert_columns(test_df)