Skip to contents

[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.