Learn R Programming

GET (version 0.1-3)

plot.image_set: Plot method for the class 'image_set'

Description

Plot method for the class 'image_set'

Usage

# S3 method for image_set
plot(x, idx = 1, obs = TRUE,
  plot_style = c("ggplot2", "basic"), main, col,
  max_ncols_of_plots = 4, ...)

Arguments

x

an 'image_set' object

idx

Indices of the images in the image_set to be plotted.

obs

Logical. TRUE, then idx is understood as an index to image_set$obs, otherwise to image_set$sim_m.

plot_style

Either "ggplot2" or "basic". (Similar to the argument in plot.global_envelope.)

main

The title. Default exists.

col

Colours to be passed to plot.im if plot_style = "basic". A default exists.

max_ncols_of_plots

The maximum number of columns for the figures. Default 4.

...

Additional parameters to be passed to plot.im.