Reshaping Data

Part of the Use R! book series (USE R)

R is designed so that individual functions don't have complete flexibility with regard to their inputs. Most functions expect their input data to be arranged in a particular way, and it's the responsibility of the user of the function to make sure that the input data is in an appropriate form. So even after you've read in or created your data, it may be necessary to modify your data to suit a function you need.

The focus of this chapter will be on working with data frames, since that is the form required for the majority of the functions in R.


Regular Expression Data Frame Logical Variable Warning Message Multiple Occurrence 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer Science+Business Media, LLC 2008

Personalised recommendations