ggplot2: Elegant Graphics for Data Analysis (Use R!)

Hadley Wickham

出版社

Springer

出版时间

2016-06-16

ISBN

9783319242750

评分

★★★★★

标签

编程

书籍介绍
这不是一本教人快速出图的教程,而是一本书在重塑你看待数据图的方式。作者 Hadley Wickham 是 ggplot2 的创建者,全书的核心是“图形语法”——把一张图拆解为数据、美学映射、几何对象、统计变换与位置调整等图层,让你理解“图为何这样画”,而非机械记忆命令。读者反复提到的,正是这种底层逻辑带来的系统感:一旦掌握,再复杂的叠加图层、多源数据、自动图例都变得可推导。它更适合愿意慢下来、把可视化当成一门语言来学的人,而非只想复制粘贴的速成者。争议也集中于此:内容权威却偏“老”,部分函数已被新版清理,官方文档与免费在线版或许更实用。但正因作者站在开发者的视角,这本书提供的是其他手册给不了的、关于“工具哲学如何决定其优劣”的深层理解。
作者简介
Hadley Wickham is Chief Scientist at RStudio and a member of the R Foundation. He builds tools (both computational and cognitive) that make data science easier, faster, and more fun. His work includes packages for data science (ggplot2, dplyr, tidyr), data ingest (readr, readxl, haven), and principled software development (roxygen2, testthat, devtools). He is also a writer, educator, and frequent speaker promoting the use of R for data science. Carson Sievert is a PhD student in the Department of Statistics at Iowa State University. His work includes R packages for acquiring data from the Web (pitchRx, bbscrapeR, XML2R), designing interactive Web graphics (animint, plotly), and visualizations for exploring statistical models (LDAvis).
目录
Part I Getting Started
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Welcome to ggplot2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 What Is the Grammar of Graphics? . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 How Does ggplot2 Fit in with Other R Graphics?. . . . . . . . . . . 5

显示全部
用户评论
受益匪浅~
自己一点点摸索完了才系统扫了遍这本书,本应该早点看的。。。
在读这本书读的那一周连着下了两天雨,然后我看着雨和打伞的人,脑子里就一直冒geom_rain, geom_umbrella。适合不适合初学者我不知道,反正放我这儿我没从头开始,是复习了一下datacamp上学的东西,整理了一下自己google来的野路子。算是受用了。
坦白来说,我觉得学ggplot2和beamer是最浪费生命的事儿。
第三版在线免费:https://ggplot2-book.org
终于把Hadley的这本书读完了,对ggplot2绘图系统有了比较全面的认识。 还能记住的知识点是一个图层由data, aesthetic mapping, geom, statistic transformation, position adjustment五部分组成.. 对我个人比较难的是individual geom与collective geom两者的区别,疑难点主要在于group这一块。 美中不足的一点:感觉geom_sf()这个函数还没开发的特别好,主要是坐标系及经纬度的标签刻度不好调整。专业原因经常画地图,这点稍稍有些难受。 以及这本书已经更新到第三版了,网址是: https://ggplot2-book.org/index.html
ggplot2的documentation都出了本书,第三版都出来了,两天读完。
作图是短板,作图总太丑了点,得加强下。 这书基于ggplot2的设计思路展开的,很好使。 对于直接拿来用已经很好了,如果是面向应用的,如果有本书针对某种图形,给出对应的ggplot2代码,会跟赞,不过就不是本书涵盖的范围了。
开卷有益的一本书(・_・; 很好拓展R for Data Science中Visualization的部分,看完对ggplot2在逻辑上有更深层的理解………相比中文第二版的垃圾翻译,英文版好理解很多,特别是scaling
下载
收藏