Abstract
This chapter covers how to merge datasets, add rows and columns to existing datasets, reshape datasets, and stack and unstack datasets. You will find that some of the analyses you want to do will require stacked data, others will require unstacked data, and still others can use data of either type.
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). Merging and Reshaping Datasets. In: R Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0130-5_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0130-5_4
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)