checkCols: check the validation and return index of cols given from...

View source: R/ReformatDataframe.R

checkColsR Documentation

check the validation and return index of cols given from input in rawDataFrame

Description

check the validation and return index of cols given from input in rawDataFrame

Usage

checkCols(rawDataFrame, cols)

Arguments

rawDataFrame

raw data.frame

cols

specific cols given from input

Value

return validation (only FALSE if invaild cols input) or index of cols

Examples

library(handyFunctions)
data(people)
checkCols(people, c("..name", "..sex"))
# OR
checkCols(people, c(1, 2))

handyFunctions documentation built on Aug. 22, 2022, 5:06 p.m.