| [,innsight_ggplot2,ANY,ANY,ANY-method {innsight} | R Documentation |
Indexing plots of innsight_ggplot2
Description
The S4 class innsight_ggplot2 visualizes the results in the form of
a matrix, with the output nodes (and also the input layers) in the columns
and the selected data points in the rows. With these basic generic indexing
functions, the plots of individual rows and columns can be accessed,
modified and the overall plot can be adjusted accordingly.
Usage
## S4 method for signature 'innsight_ggplot2,ANY,ANY,ANY'
x[i, j, ..., restyle = TRUE, drop = TRUE]
## S4 method for signature 'innsight_ggplot2'
x[[i, j, ..., restyle = TRUE]]
## S4 replacement method for signature 'innsight_ggplot2,ANY,ANY,ANY'
x[i, j, ...] <- value
## S4 replacement method for signature 'innsight_ggplot2'
x[[i, j, ...]] <- value
Arguments
x |
An instance of the S4 class |
i |
The numeric (or missing) index for the rows. |
j |
The numeric (or missing) index for the columns. |
... |
other unused arguments |
restyle |
This logical value determines whether the labels and facet
stripes remain as they were in the original plot or are adjusted to the
subplot accordingly. However, this argument is only used if the |
drop |
unused argument |
value |
Another instance of the S4 class |
Value
-
[.innsight_ggplot2: Selects only the plots from thei-th rows andj-th columns and returns them as a new instance ofinnsight_ggplot2. Ifrestyle = TRUEthe facet stripes and axis labels of the original plot are transferred to the subplot, otherwise they are returned as they are. -
[[.innsight_ggplot2: Selects only the subplot in rowiand columnjand returns it as a ggplot2::ggplot object. Ifrestyle = TRUEthe facet stripes and axis labels of the original plot are transferred to the subplot, otherwise they are returned as they are. -
[<-.innsight_ggplot2: Replaces the plots in the rowsiand columnsjwith those fromvalueand returns the modified instance ofinnsight_ggplot2. -
[[<-.innsight_ggplot2: Replaces the plot from thei-th row andj-th column with the plot fromvalueand returns the modified instance ofinnsight_ggplot2.
See Also
innsight_ggplot2, print.innsight_ggplot2,
+.innsight_ggplot2