test_columnnames | R Documentation |
Function to test column names of a data being different from what specified
test_columnnames(column_names, data)
column_names |
column names of the data frame |
data |
a data frame |
0, if success error, if failure
test_columnnames(c("name", "age"), data.frame(
"Age" = c(21, 15),
"Name" = c("John", "Dora")
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.