struc_mosaic               package:vcd               R Documentation

_C_o_r_e-_g_e_n_e_r_a_t_i_n_g _F_u_n_c_t_i_o_n _f_o_r _M_o_s_a_i_c _P_l_o_t_s

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

     Core-generating function for 'strucplot' returning a function
     producing mosaic plots.

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

     struc_mosaic(zero_size = 0.5)

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

zero_size: size of the bullets used for zero-entries in the contingency
          table (if 0, no bullets are drawn).

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

     This function is usually called by 'strucplot' (typically when
     called by 'mosaic') and returns a function used by 'strucplot' to
     produce mosaic plots.

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

     A function with arguments: 

residuals: table of residuals.

observed: table of observed values.

expected: not used by 'struc_mosaic'.

 spacing: object of class '"unit"' specifying the space between the
          tiles.

      gp: list of 'gpar' objects used for the drawing the tiles.

split_vertical: vector of logicals indicating, for each dimension of
          the table, the split direction.

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

     David Meyer David.Meyer@R-project.org

_R_e_f_e_r_e_n_c_e_s:

     Cohen, A. (1980), On the graphical display of the significant
     components in a two-way contingency table. _Communications in
     Statistics-Theory and Methods_, *A9*, 1025-1041.

     Friendly, M. (1992), Graphical methods for categorical data. _SAS
     User Group International Conference Proceedings_, *17*, 190-200.
     <URL: http://www.math.yorku.ca/SCS/sugi/sugi17-paper.html>

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

     'mosaic', 'strucplot', 'structable'

