Remove rows from the dataframe if the row contains a value in the specified columns

RemoveRowsBasedOnCol(inputted.data, columns.to.look.at, val.to.remove)

Arguments

inputted.data

A dataframe.

columns.to.look.at

A vector of strings with each string specifying the name of columns to look at.

val.to.remove

Value to look for. If a row contains this value in the specified column(s), then the row is removed.

Value

Dataframe with some rows removed.

See also