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

View source: R/DPI.R

plot.dpi.curveR Documentation

[S3 method] Plot DPI curve analysis results.

Description

[S3 method] Plot DPI curve analysis results.

Usage

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

Arguments

x

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

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.