官术网_书友最值得收藏!

Chapter 3. Filtering and Summarizing Data

After loading data from either flat files or databases (as we have seen in Chapter 1, Hello, Data!), or directly from the web via some APIs (as covered in Chapter 2, Getting Data from the Web), we often have to aggregate, transform, or filter the original dataset before the actual data analysis could take place.

In this chapter, we will focus on how to:

  • Filter rows and columns in data frames
  • Summarize and aggregate data
  • Improve the performance of such tasks with the dplyr and data.table packages besides the base R methods
主站蜘蛛池模板: 灌南县| 平果县| 新河县| 乌拉特前旗| 莱西市| 洛阳市| 天等县| 彭山县| 长丰县| 奉贤区| 黑河市| 阳曲县| 曲麻莱县| 通江县| 广德县| 尉犁县| 永仁县| 寿阳县| 河曲县| 阿拉尔市| 崇阳县| 阜平县| 秭归县| 贵阳市| 名山县| 甘孜县| 高州市| 台前县| 瓮安县| 卫辉市| 观塘区| 九江市| 琼中| 平江县| 泽普县| 乌审旗| 横峰县| 革吉县| 新化县| 大理市| 宜宾县|