Description
Usage
Arguments
Value
Author(s)
See Also
Examples
View source: R/hexplom.R
hexplom
draws Conditional Hexbin Plot Matrices. It is similar
to splom
, expect that the default display is different.
Specifically, the default display is created using
panel.hexplom
, which is an alias for panel.hexbinplot
.
1
2
3
4
5
6
7
8
9
10
11
12
13  (x, , )
## S3 method for class 'formula'
(x, = , )
## S3 method for class 'data.frame'
(x, = , , groups = ,
= )
## S3 method for class 'matrix'
(x, = , , groups = , = )
()

x 
The object on which method dispatch is carried out.
For the "formula" method, a formula describing the structure
of the plot, which should be of the form ~ x  g1 * g2 *
... , where x is a data frame or matrix. Each of g1,
g2, ... must be either factors or shingles. The conditioning
variables g1, g2, ... may be omitted.
For the data.frame and matrix methods, a data frame or
matrix as appropriate.

data 
For the formula method, an optional data frame in which
variables in the formula (as well as groups and
subset , if any) are to be evaluated. By default, the
environment where the function was called from is used.

groups, subset, ... 
see splom . The
nonstandard evaluation of groups and subset only
applies in the formula method. Apart from arguments that
apply to splom (many of which are only documented in
xyplot ), additional arguments meant for
panel.hexplom (which is an alias for
panel.hexbinplot ) may also be supplied. Such
arguments may include ones that control details of the hexbin
calculations, documented in gplot.hexbin

An object of class "trellis"
. The
update
method can be used to
update components of the object and the
print
method (usually called by
default) will plot it on an appropriate plotting device.
Deepayan Sarkar Deepayan.Sarkar@Rproject.org,
Nicholas LewinKoh nikko@hailmail.net
splom
, xyplot
,
hexbinplot
,
Lattice
, panel.pairs
1
2
3
4
5
6
7
8
9
10
11
12
13  ## Simple hexplom
()
(~[,7:14], xbins=15)
## With colors and conditioning
(~[,9:13]  Sex, = ,
xbins = 15, colramp = )
## With custom panel function
([,9:13], xbins = 20,colramp = ,
upper.panel = )

hexbin documentation built on May 30, 2017, 1:23 a.m.