Learn R Programming

healthcareai (version 1.2.4)

removeColsWithDTSSuffix: Remove columns with DTS suffix

Description

Remove columns with DTS in the suffix of the column name

Usage

removeColsWithDTSSuffix(df)

Arguments

df

A data frame to be altered

Value

The input data frame with DTS suffix columns removed

References

http://healthcareai-r.readthedocs.io

See Also

healthcareai

Examples

Run this code
# NOT RUN {
df <- data.frame(testDTS=c(1,2,3),b=c('Y','N',NA),c=c(NA,'Y','N'))
dfResult <- removeColsWithDTSSuffix(df)
head(dfResult)
# }

Run the code above in your browser using DataLab