HH (version 3.1-24)

panel.pairs.hh: Function based on S-Plus panel.pairs to add the subpanel.scales and panel.cex arguments.

Description

Function based on S-Plus panel.pairs to add the subpanel.scales and panel.cex arguments. In R, this is an alias for panel.pairs.

Usage

panel.pairs.hh(x, y, z, subscripts, pscales, subpanel = panel.splom,
           varnames = dimnames(x)[[2]], ...,
           subpanel.scales, panel.cex=par()$cex)

Arguments

x, y, z, subscripts, pscales, subpanel, varnames, ...
See#ifndef S-Plus splom #endif #ifdef S-Plus splom #endif in S-Plus.
subpanel.scales
Controls the size of the tick labels in the diagonal panel.
panel.cex
Controls the size of the variable names in the diagonal panel.

Value

  • "trellis" object.

See Also

#ifndef S-Plus splom #endif #ifdef S-Plus splom #endif in S-Plus.

Examples

Run this code
if.R(s={
     longley <- data.frame(longley.x, Employed = longley.y)
     },r={
     data(longley)
     })

if.R(s=
     splom( ~ longley, pch=16, cex=.55,
           superpanel=panel.pairs.hh, subpanel.scales=list(cex=.8),
           pscales=2,
           panel.cex=.8)
     ,r=
     splom( ~ longley, pch=16,
           pscales=2,
           varname.cex=.8,
           axis.text.cex=.5)
   )

Run the code above in your browser using DataCamp Workspace