Checks whether two datasets contain the same observations and that the first dataset's columns are a subset of the second dataset's columns.
h_check_columns_nested(data_basic, data_augmented)TRUE or FALSE, indicating whether the or not data_basic and
data_augmented contain the same observations and that data_augmented
contains all the columns in data_basic.
(data.frame)
data frames to be
compared.
For efficiency, the inspection takes place in this order:
FALSE is returned early if the datasets do not have the same number of
rows.
FALSE is returned early if the first dataset has a column not in the
second dataset.
The columns in common are sorted and compared using all.equal() with
check.attributes = FALSE.
h_check_fits_all_data_same(), which performs this check on the
datasets of adjacent elements of a list of mmrm fits.