RecodeIdentifier.RdTo protect patient confidentiality, sometimes the identifier in datasets should be recoded.
RecodeIdentifier(input.data, name.of.identifier, file.name)
| input.data | Dataframe with the data, including column to recode. |
|---|---|
| name.of.identifier | String specifying the column name of the column with data to recode. |
| file.name | Name of the file or absolute path of the file to write the output to. |
A modified dataframe with recoded identifier will be outputted. The recoded data will also be written into a text file.
Other Preprocessing functions:
AddColBinnedToBinary(),
AddColBinnedToQuartiles(),
AddPCsToEnd(),
ConvertDataToPercentiles(),
CorAssoTestMultipleWithErrorHandling(),
DownSampleDataframe(),
GenerateElbowPlotPCA(),
GeneratePC1andPC2PlotsWithAndWithoutOutliers(),
Log2TargetDensityPlotComparison(),
LookAtPCFeatureLoadings(),
MultipleColumnsNormalCheckThenBoxCox(),
NormalCheckThenBoxCoxTransform(),
RanomlySelectOneRowForEach(),
RemoveColWithAllZeros(),
RemoveRowsBasedOnCol(),
RemoveSamplesWithInstability(),
SplitIntoTrainTest(),
StabilityTestingAcrossVisits(),
SubsetDataByContinuousCol(),
TwoSampleTTest(),
ZScoreChallengeOutliers(),
captureSessionInfo(),
correlation.association.test(),
describeNumericalColumnsWithLevels(),
describeNumericalColumns(),
generate.descriptive.plots.save.pdf(),
generate.descriptive.plots()