data_cleaning: Creates a new data frame with selected columns dropped from...

View source: R/data_cleaning.R

data_cleaningR Documentation

Creates a new data frame with selected columns dropped from the old data frame

Description

Creates a new data frame with selected columns dropped from the old data frame

Usage

data_cleaning(dataframe, columns)

Arguments

dataframe

A data frame or data frame extension (e.g. a tibble).

columns

Name(s) of column(s) from the data frame

Value

A new data frame with columns dropped from the old data frame. If all columns are to be removed, an empty data frame will be returned.

Examples

data_cleaning(mtcars, c("mpg","disp","qsec"))
data_cleaning(mtcars, "disp")

DSCI-310/DSCI-310-Group-11-package documentation built on April 9, 2022, 12:32 a.m.