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

Hadley Wickham

買這商品的人也買了...

商品描述

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.

商品描述(中文翻譯)

這本由ggplot2的創作者Hadley Wickham所撰寫的經典書籍的新版本,強調了與knitr和RStudio的相容性。ggplot2是一個用於R語言的資料視覺化套件,幫助使用者輕鬆地創建包含多層次的資料圖形。使用ggplot2,您可以輕鬆地:

- 產生漂亮且出版品質的圖形,自動從圖形規格中創建圖例
- 從不同的資料來源中疊加多個層次(點、線、地圖、瓦片、箱形圖),並自動調整共同的比例尺
- 添加可自定義的平滑器,使用R的強大建模能力,如loess、線性模型、廣義加法模型和魯棒回歸
- 保存任何ggplot2圖形(或其部分)以供以後修改或重複使用
- 創建符合內部或期刊風格要求的自定義主題,並可以輕鬆應用於多個圖形
- 從視覺角度接近圖形,思考數據的每個組件在最終圖形上的表示方式

這本書對於每個在以資訊和吸引人的方式顯示數據方面遇到困難的人都很有用。需要一些基本的R知識(例如,將數據導入R)。ggplot2是一種專門用於生成圖形的迷你語言,您將在本書中學到所需的一切。閱讀完本書後,您將能夠精確地為您的問題定制圖形,並且您會發現將圖形從腦海中呈現在屏幕或頁面上變得非常容易。