randomGuessPlot: randomGuessPlot

Description Usage Arguments Value

View source: R/multiproduct.R

Description

Produces a graph of the probabilities of each guess with a line indicating the chance of randomly guessing the confidential value(s) from among the guesses.

Usage

1
randomGuessPlot(risks, custom_palette = NULL)

Arguments

risks

List containing the true value probabilities (output from AttributeRisk)

custom_palette

Vector of color values to use for the plot. Will use the first value for the density and the last for the vertical line.

Value

A ggplot plot object containing the desired plot.


RyanHornby/AttributeRisk documentation built on Aug. 12, 2021, 3:18 p.m.