Learn R Programming

xgobi (version 1.1-7)

xgobi: XGobi: Dynamic Graphics for Data Analysis

Description

Dynamic graphics, including brushing, rotation, grand tour, projection pursuit, slicing. Most effectively used when called more than once on same data, which then allows linked plots. Brushing with several glyphs and colors is supported. (On monochrome displays, only glyphs can be used.)

Usage

xgobi(matrx,
collab=NULL, rowlab=NULL,
colors=NULL, glyphs=NULL, erase=NULL,
lines=NULL, linecolors=NULL,
resources=NULL, title=NULL,
vgroups=NULL, std="mmx",
nlinkable=0, subset=NULL,
display=NULL)

Arguments

matrx
Any numeric matrix or data.frame.
collab
Optional character vector of column labels; the default is dimnames(matrx)[[2]]. If no default exists, xgobi constructs its own defaults.
rowlab
Optional character vector of row labels; the default is dimnames(matrx)[[1]]. If no default exists, xgobi constructs its own defaults.
colors
Optional character vector, used to supply initial point colors to be used; the default is that all points are the same color.
glyphs
Optional integer vector, used to supply glyphs to be used on startup; the default is that all points are drawn with the same glyph.
erase
Optional integer vector of length equal to the number of rows in the data and composed of 1s and 0s. A 1 in position i specifies that point i should be erased. The default is a vector of 0s.
lines
Optional integer matrix, n by 2, which specifies by row number pairs of points to be connected by line segments. The default connecting line matrix connects each point to the one that follows it in the data; that is, (1 2), (2 3), (3 4), ...

Value

  • The UNIX status upon completion, i.e. 0 if ok.

item

  • linecolors
  • resources
  • title
  • vgroups
  • std
  • dev
  • nlinkable
  • subset
  • display

code

machine

Side Effects

The xgobi S function executes a call to the C program of the same name, an interactive statistical graphics program which runs under the X Window System, and returns control of the S shell to the user.

XGobi can be used to create vectors of brushing information and rotation coefficients; see the documentation for XGobi for details.

CONTACT

D. F. Swayne dfs@research.att.com

References

http://www.research.att.com/areas/stat/xgobi/, http://www.public.iastate.edu/~dicook/

Examples

Run this code
data(laser)
xgobi(laser)

Run the code above in your browser using DataLab