delete_data_frame_columns {oeli} | R Documentation |
Deleting data.frame
columns
Description
This function deletes columns of a data.frame
by name.
Usage
delete_data_frame_columns(df, column_names)
Arguments
df |
A |
column_names |
A |
Value
The input df
without the columns defined by column_names
.
Examples
df <- data.frame("label" = c("A", "B"), "number" = 1:10)
delete_data_frame_columns(df = df, column_names = "label")
delete_data_frame_columns(df = df, column_names = "number")
delete_data_frame_columns(df = df, column_names = c("label", "number"))
[Package oeli version 0.5.2 Index]