AddColBinnedToQuartiles: Bin the values of a selected continuous column into 4 bins...

Description Usage Arguments Value See Also

View source: R/preprocessing.R

Description

Bin the values of a selected continuous column into 4 bins (quartiles) and add the bin assignments as a new column

Usage

1
AddColBinnedToQuartiles(inputted.data, col.name.to.bin, name.of.new.col)

Arguments

inputted.data

A dataframe.

col.name.to.bin

Name of a continuous column to use the values for binning.

name.of.new.col

Name of the new column that will be added to the end of the dataframe. A suitable name would be "TARGET.quartile"

Value

A dataframe with bin assignment added as a factor column.

See Also

Other Preprocessing functions: AddColBinnedToBinary(), AddPCsToEnd(), ConvertDataToPercentiles(), CorAssoTestMultipleWithErrorHandling(), DownSampleDataframe(), GenerateElbowPlotPCA(), GeneratePC1andPC2PlotsWithAndWithoutOutliers(), Log2TargetDensityPlotComparison(), LookAtPCFeatureLoadings(), MultipleColumnsNormalCheckThenBoxCox(), NormalCheckThenBoxCoxTransform(), RanomlySelectOneRowForEach(), RecodeIdentifier(), RemoveColWithAllZeros(), RemoveRowsBasedOnCol(), 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.