本书精心策划了三个虚拟项目,将数据科学家必需的专业技能融合其中,教会读者如何将数据存储到计算机内存中,如何在必要的时候转换内存中的数据值,如何用R编写自己的程序并将其用于数据分析和模拟运行。读者将跟随世界一流的RStudio培训师掌握宝贵的编程技能,并借助这些技能成为优秀的数据科学家。
亲身实践,完成三个数据分析项目
在计算机内存中存储、检索和更改数据值
编写秒杀普通R用户的程序和模拟
使用if else语句、for循环和S3类等R编程工具
学会如何编写向量化的R代码,提升编程效率
充分利用R的包系统和代码调试工具
在学习的过程中,实践和应用R的诸多编程概念
本书通过三个精心挑选的例子,深入浅出地讲解如何使用R语言玩转数据。书中涵盖R语言编程的方方面面,内容涉及R对象的类型、R的记号体系和环境系统、自定义函数、if else语句、for循环、S3类、R的包系统以及调试工具等。本书还通过示例演示如何进行向量化编程,从而对代码进行提速并最大化地发挥R的潜能。
本书适合立志成为数据科学家的R语言初学者阅读。
作者介绍:
Garrett Grolemund
RStudio的数据科学家和高级培训师,统计学家,R软件开发工程师,处理时间类数据的神器R包lubridate的开发者。Garrett在美国莱斯大学获得博士学位,曾在Google、eBay等公司教授R相关培训课程。
Learn how to program by diving into the R language, and then use your newfound skills to solve practical data science problems. With this book, you'll learn how to load data, assemble and disassemble data objects, navigate R's environment system, write your own functions, and use all of R's programming tools.
RStudio Master Instructor Garrett Grolemund not only teaches you how to program, but also shows you how to get more from R than just visualizing and modeling data. You'll gain valuable programming skills and support your work as a data scientist at the same time.