A function to compare two data sets This function may be used to compare R and SAS output. It has a parameters to control the desired precision and the rounding to be used.

compare_ds(ds1, ds2, precision = NULL, rounding = NULL)

Arguments

ds1

The first dataset to compare.

ds2

The second dataset to compare.

precision

The desired number of decimal places to compare.

rounding

The rounding function to be used in the comparison.

Value

The results of the comparison.