Learn R Programming

SynthesizerPlus (version 0.4.0)

plot_dcr: 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)

Value

A ggplot object.

Arguments

x

The result of dcr() or compare_synthetic().

Examples

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

Run the code above in your browser using DataLab