View source: R/data_cleaning.R
plr_convert_columns | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.