Learn R Programming

DCEM (version 2.0.4)

trim_data: trim_data: Part of DCEM package. Used internally in the package.

Description

Removes the specified column(s) from the dataset.

Usage

trim_data(columns, data)

Arguments

columns

(string): A comma separated list of column(s) that needs to be removed from the dataset. Default: ''

data

(dataframe): Dataframe containing the input data.

Value

A dataframe with the specified column(s) removed from it.

References

Using data to build a better EM: EM* for big data.

Hasan Kurban, Mark Jenne, Mehmet M. Dalkilic (2016) <https://doi.org/10.1007/s41060-017-0062-1>.