plot_dcr: Plot distances to the closest record

plot_dcrR Documentation

Plot distances to the closest record

Description

Compares the distribution of distances from synthetic records to their closest real record with the real-to-real baseline (see dcr()).

Usage

plot_dcr(x)

Arguments

x

The result of dcr() or compare_synthetic().

Value

A ggplot object.

Examples

syn <- synthesize(iris, seed = 1)
plot_dcr(dcr(iris, syn, seed = 1))

SynthesizerPlus documentation built on Oct. 16, 2026, 5:10 p.m.