checkCols {handyFunctions}R 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))

[Package handyFunctions version 0.1.0 Index]