

   pairs {base}                                 R Documentation

   SSccaatttteerrpplloott MMaattrriicceess

   DDeessccrriippttiioonn::

        A matrix of scatterplots is produced.

   UUssaaggee::

        pairs(x, ...)
        pairs.default(x, labels = dimnames(x)[[2]], panel = points, ...)

   AArrgguummeennttss::

          x: the coordinates of points given as columns of a
             matrix.

     labels: the names of the variables.

      panel: `function(x,y,...)' which is used to plot the con-
             tents of each panel of the display.

        ...: graphical parameters can be given as arguments to
             `plot'.

   DDeettaaiillss::

        The ijth scatterplot contains `x[,i]' plotted against
        `x[,j]'.

        The graphical parameters `pch' and `col' can be used to
        specify a vector of plotting symbols and colors to be
        used in the plots.

   EExxaammpplleess::

        data(USJudgeRatings)
        pairs(USJudgeRatings)

