biplot                 package:stats                 R Documentation

_B_i_p_l_o_t _o_f _M_u_l_t_i_v_a_r_i_a_t_e _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Plot a biplot on the current graphics device.

_U_s_a_g_e:

     biplot(x, ...)

     ## Default S3 method:
     biplot(x, y, var.axes = TRUE, col, cex = rep(par("cex"), 2),
            xlabs = NULL, ylabs = NULL, expand = 1,
            xlim  = NULL, ylim  = NULL, arrow.len = 0.1,
            main = NULL, sub = NULL, xlab = NULL, ylab = NULL, ...)

_A_r_g_u_m_e_n_t_s:

       x: The 'biplot', a fitted object. For 'biplot.default', the
          first set of points (a two-column matrix), usually associated
          with observations.

       y: The second set of points (a two-column matrix), usually
          associated with variables.

var.axes: If 'TRUE' the second set of points have arrows representing
          them as (unscaled) axes.

     col: A vector of length 2 giving the colours for the first and
          second set of points respectively (and the corresponding
          axes). If a single colour is specified it will be used for
          both sets.  If missing the default colour is looked for in
          the 'palette': if there it and the next colour as used,
          otherwise the first two colours of the palette are used.

     cex: The character expansion factor used for labelling the points.
          The labels can be of different sizes for the two sets by
          supplying a vector of length two.

   xlabs: A vector of character strings to label the first set of
          points: the default is to use the row dimname of 'x', or
          '1:n' is the dimname is 'NULL'.

   ylabs: A vector of character strings to label the second set of
          points: the default is to use the row dimname of 'y', or
          '1:n' is the dimname is 'NULL'.

  expand: An expansion factor to apply when plotting the second set of
          points relative to the first. This can be used to tweak the
          scaling of the two sets to a physically comparable scale.

arrow.len: The length of the arrow heads on the axes plotted in
          'var.axes' is true. The arrow head can be suppressed by
          'arrow.len = 0'.

xlim, ylim: Limits for the x and y axes in the units of the first set
          of variables.

main, sub, xlab, ylab, ...: graphical parameters.

_D_e_t_a_i_l_s:

     A biplot is plot which aims to represent both the observations and
     variables of a matrix of multivariate data on the same plot. There
     are many variations on biplots (see the references) and perhaps
     the most widely used one is implemented by 'biplot.princomp'. The
     function 'biplot.default' merely provides the underlying code to
     plot two sets of variables on the same figure.

     Graphical parameters can also be given to 'biplot': the size of
     'xlabs' and 'ylabs' is controlled by 'cex'.

_S_i_d_e _E_f_f_e_c_t_s:

     a plot is produced on the current graphics device.

_R_e_f_e_r_e_n_c_e_s:

     K. R. Gabriel (1971).  The biplot graphical display of matrices
     with application to principal component analysis. _Biometrika_
     *58*, 453-467.

     J.C. Gower and D. J. Hand (1996). _Biplots_. Chapman & Hall.

_S_e_e _A_l_s_o:

     'biplot.princomp', also for examples.

