checkVariableNames: A checkVariableNames Function

Description Usage Arguments Value Author(s) Examples

View source: R/checkVariableNames.R

Description

'checkVariableNames'checks if the given parameters' names and the columns' names of the data are the same.

Usage

1
checkVariableNames(raw, parameterName)

Arguments

raw

Data in data.frame format.

parameterName

Factor or characters of parameters' names.

Value

Returns a list of the correct variable names

Author(s)

Henry Nanji,Saisakul Chernbumroong

Examples

1
2
data(iris)
checkVariableNames(iris, c("Sepal.Length","Sepal.Width","Petal.Length","Petal.Width","Species"))

mdapack documentation built on July 1, 2020, 10:30 p.m.