RemoveRowsBasedOnCol: Remove rows from the dataframe if the row contains a value in...

Description Usage Arguments Value See Also

View source: R/preprocessing.R

Description

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

Usage

1
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

Other Preprocessing functions: AddColBinnedToBinary(), AddColBinnedToQuartiles(), AddPCsToEnd(), ConvertDataToPercentiles(), CorAssoTestMultipleWithErrorHandling(), DownSampleDataframe(), GenerateElbowPlotPCA(), GeneratePC1andPC2PlotsWithAndWithoutOutliers(), Log2TargetDensityPlotComparison(), LookAtPCFeatureLoadings(), MultipleColumnsNormalCheckThenBoxCox(), NormalCheckThenBoxCoxTransform(), RanomlySelectOneRowForEach(), RecodeIdentifier(), RemoveColWithAllZeros(), RemoveSamplesWithInstability(), SplitIntoTrainTest(), StabilityTestingAcrossVisits(), SubsetDataByContinuousCol(), TwoSampleTTest(), ZScoreChallengeOutliers(), captureSessionInfo(), correlation.association.test(), describeNumericalColumnsWithLevels(), describeNumericalColumns(), generate.descriptive.plots.save.pdf(), generate.descriptive.plots()


yhhc2/machinelearnr documentation built on Dec. 23, 2021, 7:19 p.m.