View source: R/31_pre_processing_functions.R
check_non_null_and_identical_colnames | R Documentation |
Ensures all input datasets have non-null, non-empty, and identical column names.
check_non_null_and_identical_colnames(data_list)
data_list |
A list of matrices or data frames to be checked. |
NULL (called for side-effect). Throws an error if validation fails.
d1 <- data.frame(a = 1:2, b = 3:4)
d2 <- data.frame(a = 5:6, b = 7:8)
check_non_null_and_identical_colnames(list(d1, d2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.