Learn R Programming

HH (version 3.1-47)

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

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

Examples

Run this code
# NOT RUN {
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 DataLab