delete_entries_containing: Delete columns or rows containing the provided string.

Description Usage Arguments Value Examples

View source: R/delete_entries.R

Description

The provided dataframe is returned with out any of the columns or rows that contain the specified string.

Usage

1
delete_entries_containing(x, string, delete = "columns", exclude = c())

Arguments

x

Any nonempty dataframe.

string

The string to be matched.

delete

Should matched columns, or matched rows be deleted. Default is "columns".

exclude

Exclude specific column named here.

Value

Returns the dataframe without all columns that contain the string.

Examples

1
2
delete_entries_containing(mtcars, "a", exclude = "am")
delete_entries_containing(mtcars, "Toyota", delete = "columns")

julianbarg/DataAnalysisTools documentation built on April 9, 2020, 11:43 a.m.