A convenience function, mostly used to testing that rejoin
works as intended. It checks that data frames have the same dimensions and
column names, with duplicates allowed, then checks they contain the same
data. For the latter step, column names are made unique first, so columns
with duplicate names must be presented in the same order in both data frames.
df_equiv(df1, df2, digits = getOption("digits"))
A logical.
Data frames.
a positive integer, indicating how many significant digits are
to be used for numeric and complex variables. A value of NA results in no
rounding. By default, this uses getOption("digits")
, similarly to
format
. See the note in print.default
about
digits >= 16.