handle_missing_cols | R Documentation |
Add columns that are required for function processing in the case that required columns are missing from the input dataframe.
handle_missing_cols(df, cols)
df |
dataframe |
cols |
A vector containing the desired columns in the desired order, setup as c(colname = NA_real_, colname = NA_real_, ...) |
Dataframe with desired columns in the desired order
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.