Visualization of Categorical Data Using Extracat Package in R

Open access


Visualization in research process plays a crucial role. There are several advanced plots for visualizing categorical data, such as mosaic, association, double-decker, sieve or fourfold plot that are based on the graphical presentation of residuals in a contingency table. In this paper we present new methods for visualizing categorical data such as rmb, fluctile and scpcp plot available in extracat package in R. This package provides a well-structured representation of categorical data and allows for a detailed presentation of the relationship between categories in terms of proportions. We describe rmb, fluctile and cpcp. Those plots are based on the concept of multiple bar charts, a fluctuation diagram from a multidimensional table and parallel coordinates respectively. Such plots are mostly used for a visualization of a contingency table or a data frame; they can also be used for exploratory analysis and allows for a graphical presentation even for a high number of variables [Pilhöfer, Unwin 2013]. All the calculations and plots are obtained using R software.

If the inline PDF is not rendering correctly, you can download the PDF file here.

  • d’Ocagne M. 1885 Coordonnées Parallèeles et Axiales: Méthode de Transformation Géométrique et Procédé Nouveau de Calcul Graphique déduits de la Considération des Coordonnées Parallèlles Gauthier-Villars Paris.

  • Friendly M. 1994 Mosaic display for multi-way contingency tables Journal of the American Statistical Association 89 pp. 190-200.

  • Friendly M. 2000 Visualizing Categorical Data SAS Institute Cary NC.

  • Hartigan J.A. Kleiner B. 1981 Mosaics for Contingency Tables [in:] W.F. Eddy (ed.) Computer Science and Statistics Proceedings of the 13th Symposium on the Interface 268-273 Springer-Verlag New York.

  • Inselberg A. 2009 Parallel Coordinates Springer-Verlag New York.

  • Kosara R. Bendix F. Hauser H. 2005 Parallel sets: Interactive exploration and visual analysis of categorical data Visualization and Computer Graphics IEEE Transactions 12 (4) pp. 558-568.

  • Meyer D. Zeileis A. Hornik K. 2006 The strucplot framework: visualizing multi-way contingency tables with vcd Journal of Statistical Software 17(3) pp. 1-48.

  • Pilhöefer A. Unwin A. 2013 New Approaches in Visualization of Categorical Data: R Package extracat Journal of Statistical Software 53(7) pp. 1-25.

  • Unwin A. Volinsky C. Winkler S. 2003 Parallel coordinates for exploratory modelling analysis Computational Statistics & Data Analysis 43(4) pp. 553-564.

  • Urbanek S. Theus M. 2003 iPlots – High Interaction Graphics for R [in:] K. Hornik F. Leisch A. Zeileis (eds.) Proceedings of the 3rd International Workshop on Distributed Statistical Computing 2003 Technische Universität Wien Vienna Austria.

Journal information
All Time Past Year Past 30 Days
Abstract Views 0 0 0
Full Text Views 389 109 5
PDF Downloads 154 59 5