powered by
'checkVariableNames'checks if the given parameters' names and the columns' names of the data are the same.
checkVariableNames(raw, parameterName)
Data in data.frame format.
Factor or characters of parameters' names.
Returns a list of the correct variable names
# NOT RUN { data(iris) checkVariableNames(iris, c("Sepal.Length","Sepal.Width","Petal.Length","Petal.Width","Species")) # }
Run the code above in your browser using DataLab