Learn R Programming

leakr (version 0.1.0)

plot.udld_report: Plot a udld_report object

Description

This function generates a bar plot of leakage issues detected by different detectors. The plot displays the count of issues by severity level for each detector in a udld_report object.

Usage

# S3 method for udld_report
plot(x, palette = NULL, ...)

Value

A ggplot object, invisibly. The plot is printed if the session is interactive.

Arguments

x

A udld_report object. This object contains the detectors and their associated issues.

palette

Optional. A ggplot2 discrete palette for coloring the bars based on severity.

...

Additional arguments passed to ggplot2 functions or other methods. These are typically used for customizing the plot further.