| check_column_exist | R Documentation |
Function to check the given column exists
check_column_exist(column_name, data)
column_name |
a column name |
data |
data frame |
0 if success -1 if failure
check_column_exist("age", data.frame(
age = rep(20, 4), sex = rep("male", 4),
stringsAsFactors = FALSE
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.