View source: R/ReformatDataframe.R
checkCols | R Documentation |
check the validation and return index of cols given from input in rawDataFrame
checkCols(rawDataFrame, cols)
rawDataFrame |
raw data.frame |
cols |
specific cols given from input |
return validation (only FALSE if invaild cols input) or index of cols
library(handyFunctions) data(people) checkCols(people, c("..name", "..sex")) # OR checkCols(people, c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.