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))) 

