plot.data.frame           package:graphics           R Documentation

_P_l_o_t _M_e_t_h_o_d _f_o_r _D_a_t_a _F_r_a_m_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     'plot.data.frame', a method for the 'plot' generic. It is designed
     for a quick look at numeric data frames.

_U_s_a_g_e:

     ## S3 method for class 'data.frame':
     plot(x, ...)

_A_r_g_u_m_e_n_t_s:

       x: object of class 'data.frame'.

     ...: further arguments to 'stripchart', 'plot.default' or 'pairs'.

_D_e_t_a_i_l_s:

     This is intended for data frames with _numeric_ columns. For more
     than two columns it first calls 'data.matrix' to convert the data
     frame to a numeric matrix and then calls 'pairs' to produce a
     scatterplot matrix).  This can fail and may well be inappropriate:
     for example numerical conversion of dates will lose their special
     meaning and a warning will be given.

     For a two-column data frame it plots the second column against the
     first by the most appropriate method for the first column.

     For a single numeric column it uses 'stripchart', and for other
     single-column data frames tries to find a plot method for the
     single column.

_S_e_e _A_l_s_o:

     'data.frame'

_E_x_a_m_p_l_e_s:

     plot(OrchardSprays[1], method="jitter")
     plot(OrchardSprays[c(4,1)])
     plot(OrchardSprays)

     plot(iris)
     plot(iris[5:4])
     plot(women)

