| F_1_panel.pairs | R Documentation | 
This is the default superpanel function for splom.
panel.pairs(z,
            panel = lattice.getOption("panel.splom"),
            lower.panel = panel,
            upper.panel = panel,
            diag.panel = "diag.panel.splom",
            as.matrix = FALSE,
            groups = NULL,
            panel.subscripts,
            subscripts,
            pscales = 5,
            prepanel.limits = scale_limits,
            varnames = colnames(z),
            varname.col, varname.cex, varname.font,
            varname.fontfamily, varname.fontface,
            axis.text.col, axis.text.cex, axis.text.font,
            axis.text.fontfamily, axis.text.fontface,
            axis.text.lineheight,
            axis.line.col, axis.line.lty, axis.line.lwd,
            axis.line.alpha, axis.line.tck,
            ...)
diag.panel.splom(x = NULL,
                 varname = NULL, limits, at = NULL, labels = NULL,
                 draw = TRUE, tick.number = 5,
                 varname.col, varname.cex,
                 varname.lineheight, varname.font,
                 varname.fontfamily, varname.fontface,
                 axis.text.col, axis.text.alpha,
                 axis.text.cex, axis.text.font, 
                 axis.text.fontfamily, axis.text.fontface,
                 axis.text.lineheight, 
                 axis.line.col, axis.line.alpha,
                 axis.line.lty, axis.line.lwd,
                 axis.line.tck,
                 ...)
| z | The data frame used for the plot. | 
| panel,lower.panel,upper.panel | The panel function used to display each pair of variables. If
specified,  In addition to extra arguments not recognized by  | 
| diag.panel | The panel function used for the diagonals. See arguments to
 | 
| as.matrix | logical. If  | 
| groups | Grouping variable, if any | 
| panel.subscripts | logical specifying whether the panel function accepts an argument
named  | 
| subscripts |  The indices of the rows of  | 
| pscales |  Controls axis labels, passed down from  
 
 
 These are specifications on a per-variable basis, and used on all
four sides in the diagonal cells used for labelling.  Factor
variables are labelled with the factor names.  Use  | 
| prepanel.limits | A function to calculate suitable axis limits given a single argument
 Most high-level lattice plots (such as  | 
| x | data vector corresponding to that row / column (which will be the same for diagonal ‘panels’). | 
| varname | (scalar) character string or expression that is to be written centred within the panel | 
| limits | numeric of length 2, or, vector of characters, specifying the scale for that panel (used to calculate tick locations when missing) | 
| at | locations of tick marks | 
| labels | optional labels for tick marks | 
| draw | A logical flag specifying whether to draw the tick marks and labels.
If  | 
| tick.number | A Numeric scalar giving the suggested number of tick marks. | 
| varnames | A character or expression vector or giving names to be used for the
variables in  | 
| varname.col |  Color for the variable name in each diagonal
panel.  See  | 
| varname.cex | Size multiplier for the variable name in each diagonal panel. | 
| varname.lineheight | Line height for the variable name in each diagonal panel. | 
| varname.font,varname.fontfamily,varname.fontface | Font specification for the variable name in each diagonal panel. | 
| axis.text.col | Color for axis label text. | 
| axis.text.cex | Size multiplier for axis label text. | 
| axis.text.font,axis.text.fontfamily,axis.text.fontface | Font specification for axis label text. | 
| axis.text.lineheight | Line height for axis label text. | 
| axis.text.alpha | Alpha-transparency for axis label text. | 
| axis.line.col | Color for the axes. | 
| axis.line.lty | Line type for the axes. | 
| axis.line.lwd | Line width for the axes. | 
| axis.line.alpha | Alpha-transparency for the axes. | 
| axis.line.tck | A numeric multiplier for the length of tick marks in diagonal panels. | 
| ... | Further arguments, passed on to  | 
panel.pairs is the function that is actually used as the panel
function in a "trellis" object produced by splom.
Deepayan Sarkar Deepayan.Sarkar@R-project.org
splom
Cmat <- outer(1:6,1:6,
              function(i,j) hcl.colors(11)[i+j-1]) ## rainbow(11, start=.12, end=.5)[i+j-1])
splom(~diag(6), as.matrix = TRUE,
      panel = function(x, y, i, j, ...) {
          panel.fill(Cmat[i,j])
          panel.text(.5,.5, paste("(",i,",",j,")",sep=""))
      })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.