错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Cleaning and Preparing Data

  • Jane L. Sumner

摘要

In this chapter, the reader learns the skills necessary to prepare a data set for visualization and analysis. Specifically, this chapter covers cleaning data (changing cases, stripping white space, removing characters, and recoding variables), sorting data sets, merging data sets, and subsetting. Each task is presented both in base R and in tidy. This chapter also discusses the differences and similarities between base and tidy.