Skip to contents

This function removes specified columns from a dataframe.

Usage

remove_columns_from_df(df, to_remove)

Arguments

df

A dataframe to modify.

to_remove

A character vector of column names to remove.

Value

A dataframe with specified columns removed.