plotmatrix              package:ggplot2              R Documentation

_C_o_d_e _t_o _c_r_e_a_t_e _a _s_c_a_t_t_e_r_p_l_o_t _m_a_t_r_i_x (_e_x_p_e_r_i_m_e_n_t_a_l)

_D_e_s_c_r_i_p_t_i_o_n:

     Crude experimental scatterplot matrix

_U_s_a_g_e:

     plotmatrix(data, mapping=aes())

_A_r_g_u_m_e_n_t_s:

    data: data frame

 mapping: any additional aesthetic mappings (do not use x and y)

_D_e_t_a_i_l_s:

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_E_x_a_m_p_l_e_s:

     plotmatrix(mtcars)
     plotmatrix(mtcars, aes(colour=factor(cyl)))
     plotmatrix(mtcars) + geom_smooth(method="lm")
     plotmatrix(mtcars, aes(colour=factor(cyl))) 

