Learn R Programming

ir (version 0.4.1)

plot.ir: Plots an object of class ir

Description

plot.ir is the plot method for objects of class ir.

Usage

# S3 method for ir
plot(x, ...)

Value

An object of class ggplot2.

Arguments

x

An object of class ir.

...

Further arguments, will be ignored.

Examples

Run this code
# simple plotting
plot(ir::ir_sample_data[1:2, ])

# advanced functions
plot(ir::ir_sample_data) +
   ggplot2::facet_wrap(~ sample_type)

Run the code above in your browser using DataLab