Learn R Programming

VisCov (version 1.5.0)

panelSelect: Selecting a Panel(s) using the Mouse

Description

To select (using the mouse) one or more panels from a four-layered plot for a single distribution. The selected panels will be drawn in a separate graphics window.

Usage

panelSelect(panel.no, CovPlotData)

Value

No return value, called for side effects.

Arguments

panel.no

an integer indicating the number of panels that one wishes to select.

CovPlotData

the output list returned by VisCov.

Details

After drawing a graph by VisCov, one can select and draw the specified number of panels by clicking the mouse on the panels of interest.

References

Tokuda, T., Goodrich, B., Van Mechelen, I., Gelman, A. and Tuerlinckx, F. (submitted). Visualizing Distributions of Covariance Matrices.

Examples

Run this code
# \donttest{
set.seed(1234)
CovPlotData = VisCov()
panelSelect(panel.no = 1, CovPlotData) # Click once on the plot you want to select
panelSelect(panel.no = 4, CovPlotData) # Click four times on the plots you want to select
# }

Run the code above in your browser using DataLab