Abstract
R provides a variety of ways to work with data arranged in tabular form. Previous chapters covered vectors, matrices, lists, factors, and data frames. This chapter expands on this and covers how to work with tables. We will start with simple frequency tables in which we summarize the frequencies of observations in each level of a categorical variable. We will then consider two-dimensional tables and higher-order tables. You will learn how to create, display, and analyze tabular data. We will limit ourselves to categorical data, but we will discuss frequency distributions for scale (interval and ratio) data in Chapter 7.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Larry A. Pace
About this chapter
Cite this chapter
Pace, L.A. (2014). Working with Tables. In: R Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0130-5_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0130-5_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0131-2
Online ISBN: 978-1-4842-0130-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)