Skip to contents

Lossy interop: takes the two source frames stored on a arsenal::comparedf object and re-runs ks_compare() using the same BY keys. Useful for teams migrating from arsenal::comparedf() to ksCompare without rewriting their inputs.

Usage

as_ks_comparison(x, ...)

Arguments

x

An arsenal::comparedf object.

...

Additional arguments forwarded to ks_compare() (e.g. tolerance, options).

Value

A ks_comparison object.

Details

Note that ksCompare's diff is computed from scratch — it does not attempt to translate comparedf's internal diff tables row-by-row.