plot.dpi: [S3 method] Plot DPI results.

View source: R/DPI.R

plot.dpiR Documentation

[S3 method] Plot DPI results.

Description

[S3 method] Plot DPI results.

Usage

## S3 method for class 'dpi'
plot(x, file = NULL, width = 6, height = 4, dpi = 500, ...)

Arguments

x

A data.frame (of new class dpi) returned from DPI.

file

File name of saved plot (".png" or ".pdf").

width, height

Width and height (in inches) of saved plot. Defaults to 6 and 4.

dpi

Dots per inch (figure resolution). Defaults to 500.

...

Other arguments (currently not used).

Value

Return a ggplot object.


DPI documentation built on June 18, 2025, 9:08 a.m.