plot.CAISEr {CAISEr}R Documentation

plot.CAISEr

Description

S3 method for plotting CAISEr objects output by run_experiment().

Usage

## S3 method for class 'CAISEr'
plot(
  x,
  y = NULL,
  ...,
  latex = FALSE,
  reorder = FALSE,
  show.text = TRUE,
  digits = 3,
  layout = NULL
)

Arguments

x

list object of class CAISEr.

y

unused. Included for consistency with generic plot method.

...

other parameters to be passed down to specific plotting functions (currently unused)

latex

logical: should labels be formatted for LaTeX? (useful for later saving using library TikzDevice)

reorder

logical: should the comparisons be reordered alphabetically?

show.text

logical: should text be plotted?

digits

how many significant digits should be used in text?

layout

optional parameter to override the layout of the plots (see gridExtra::arrangeGrobs() for details. The default layout is lay = rbind(c(1,1,1,1,1,1), c(1,1,1,1,1,1), c(2,2,2,3,3,3))

Value

list containing (1) a list of of ggplot2 objects generated, and (2) a list of data frames used for the creation of the plots.


[Package CAISEr version 1.0.17 Index]