AddPCsToEnd.Rd
Perform PCA
AddPCsToEnd( inputted.data, columns.to.do.PCA.on, scale.boolean, minimum.variance.percent )
inputted.data | A dataframe. |
---|---|
columns.to.do.PCA.on | A vector of strings that specify the column names to use for PCA. |
scale.boolean | Boolean specifying if data should be scaled before PCA. |
minimum.variance.percent | Value from 0-100 specifying how much percentage of total variance a principal component needs to meet or exceed to be kept. |
A List object that contains 3 elements:
A dataframe with the PCs added to the end and the names of the PC columns.
A vector with the names of PCs.
The pca.results object from prcomp().
Other Preprocessing functions:
AddColBinnedToBinary()
,
AddColBinnedToQuartiles()
,
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()