Summary
In this chapter, we learned about the basics of managing data in R. We started by taking an in-depth look at the structures used for storing various types of data. The foundational R data structure is the vector, which is extended and combined into more complex data types such as lists and data frames. The data frame is an R data structure that corresponds to the notion of a dataset, having both features and examples.
We also learned about how to get data into R from a variety of sources. R provides functions for reading from and saving to CSV files; SQL databases can be queried with the RODBC package.
Finally, we applied these skills while exploring a real-world dataset containing data on used car prices. We examined numeric variables using ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access