Pairs plot panel functions for diagonal cellspackage:vcdR Documentation

_D_i_a_g_o_n_a_l _P_a_n_e_l _F_u_n_c_t_i_o_n_s _f_o_r _T_a_b_l_e _P_a_i_r_s _P_l_o_t

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

     Diagonal panel functions for 'pairs.table'.

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

     pairs_barplot(gp_bars = gpar(fill = "gray"),
       gp_vartext = gpar(fontsize = 17),
       gp_leveltext = gpar(), ...)
     pairs_text(dimnames = TRUE, gp_vartext = gpar(fontsize = 17), 
       gp_leveltext = gpar(), gp_border = gpar(), ...) 

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

dimnames: vector of logicals indicating whether the factor levels
          should be displayed (only used for 'pairs_text').

 gp_bars: object of class '"gpar"' used for bars (only used for
          'pairs_barplot').

gp_vartext: object of class '"gpar"' used for the factor names.

gp_leveltext: object of class '"gpar"' used for the factor levels.

gp_border: object of class '"gpar"' used for the border (only used for
          'pairs_text').

     ...: other parameters passed to the underlying graphics functions.

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

     In the diagonal cells, the pairsplot visualizes statistics or
     information for each dimension (that is: the single factors)
     alone. 'pairs_text' displays the factor's name, and optionally
     also the factor levels. 'pairs_barplot' produces a barplot of the
     corresponding factor, along with the factor's name.

_V_a_l_u_e:

     A function with one argument: the marginal table for the
     corresponding dimension.

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

     David Meyer David.Meyer@R-project.org

_S_e_e _A_l_s_o:

     'pairs.table', 'pairs_assoc', 'pairs_mosaic'

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

     data(UCBAdmissions)

     pairs(UCBAdmissions) # pairs_barplot is default
     pairs(UCBAdmissions, diag_panel = pairs_text)

