plot.ir
is the plot method for objects of class ir
.
Usage
# S3 method for ir
plot(x, ...)
Arguments
- x
An object of class
ir
.- ...
Further arguments, will be ignored.
Value
An object of class ggplot2
.
Examples
# simple plotting
plot(ir::ir_sample_data[1:2, ])
# advanced functions
plot(ir::ir_sample_data) +
ggplot2::facet_wrap(~ sample_type)