StabilityTestingAcrossVisits.RdAssess stability of values that correspond to a single identifier
StabilityTestingAcrossVisits( inputted.data, col.name.of.unique.identifier, value.to.evaluate )
| inputted.data | A dataframe. |
|---|---|
| col.name.of.unique.identifier | A string that specifies name of column in inputted.data containing unique identifiers. |
| value.to.evaluate | A string that specifies name of column in inputted.data to look at for stability of values. |
A dataframe with the unique.identifiers as rows and the standard deviation of the values. If a individual only has one row in the original dataframe, the SD value will be NA.
Other Preprocessing functions:
AddColBinnedToBinary(),
AddColBinnedToQuartiles(),
AddPCsToEnd(),
ConvertDataToPercentiles(),
CorAssoTestMultipleWithErrorHandling(),
DownSampleDataframe(),
GenerateElbowPlotPCA(),
GeneratePC1andPC2PlotsWithAndWithoutOutliers(),
Log2TargetDensityPlotComparison(),
LookAtPCFeatureLoadings(),
MultipleColumnsNormalCheckThenBoxCox(),
NormalCheckThenBoxCoxTransform(),
RanomlySelectOneRowForEach(),
RecodeIdentifier(),
RemoveColWithAllZeros(),
RemoveRowsBasedOnCol(),
RemoveSamplesWithInstability(),
SplitIntoTrainTest(),
SubsetDataByContinuousCol(),
TwoSampleTTest(),
ZScoreChallengeOutliers(),
captureSessionInfo(),
correlation.association.test(),
describeNumericalColumnsWithLevels(),
describeNumericalColumns(),
generate.descriptive.plots.save.pdf(),
generate.descriptive.plots()
identifier.col <- c("a", "a", "a", "b", "b", "b", "c") value.col <- c(1, 2, 3, 1, 1, 1, 5) input.data.frame <- as.data.frame(cbind(identifier.col, value.col)) results <- StabilityTestingAcrossVisits(input.data.frame, "identifier.col", "value.col") results#> ID standard.deviation.of.val #> 1 a 1 #> 2 b 0 #> 3 c NA