书籍 ggplot2: Elegant Graphics for Data Analysis (Use R!)的封面

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

Hadley Wickham

出版社

Springer

出版时间

2016-06-16

ISBN

9783319242750

评分

★★★★★

标签

编程

书籍介绍

This new edition to the classic book by ggplot2 creator Hadley Wickham highlights compatibility with knitr and RStudio. ggplot2 is a data visualization package for R that helps users create data graphics, including those that are multi-layered, with ease. With ggplot2, it's easy to:

produce handsome, publication-quality plots with automatic legends created from the plot specification

superimpose multiple layers (points, lines, maps, tiles, box plots) from different data sources with automatically adjusted common scales

add customizable smoothers that use powerful modeling capabilities of R, such as loess, linear models, generalized additive models, and robust regression

save any ggplot2 plot (or part thereof) for later modification or reuse

create custom themes that capture in-house or journal style requirements and that can easily be applied to multiple plots

approach a graph from a visual perspective, thinking about how each component of the data is represented on the final plot

This book will be useful to everyone who has struggled with displaying data in an informative and attractive way. Some basic knowledge of R is necessary (e.g., importing data into R). ggplot2 is a mini-language specifically tailored for producing graphics, and you'll learn everything you need in the book. After reading this book you'll be able to produce graphics customized precisely for your problems, and you'll find it easy to get graphics out of your head and on to the screen or page.

目录
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