Learn R Programming

rsdv (version 0.2.0)

autoplot.rsdv_privacy_report: Plot a privacy report

Description

Plots the NNDR score as a gauge-style bar.

Usage

# S3 method for rsdv_privacy_report
autoplot(object, ...)

Value

A ggplot object.

Arguments

object

An rsdv_privacy_report object.

...

Unused.

Examples

Run this code
# \donttest{
syn <- gaussian_copula_synthesizer(metadata(adult_income)) |> fit(adult_income)
synth <- sample(syn, n = 500)
pr <- privacy_report(adult_income, synth)
ggplot2::autoplot(pr)
# }

Run the code above in your browser using DataLab