Description Usage Arguments Value Examples
View source: R/check_column_existence.R
Check if columns exist in a data frame
1 | check_column_existence(df, col_names)
|
df |
A data frame |
col_names |
A vector of column names |
Boolean indicating if all specified column names exist in the data frame. Otherwise, a message ascertaining non-existence of columns is displayed
1 | check_column_existence(mtcars, c("mpg", "disp"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.