万本电子书0元读

万本电子书0元读

顶部广告

R Data Visualization Recipes电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Vitor Bianchi Lanzetta

出  版  社:Packt Publishing

出版时间:2017-11-22

字       数:33.9万

所属分类: 进口书 > 外文原版书 > 小说

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Translate your data into info-graphics using popular packages in R About This Book Use R's popular packages—such as ggplot2, ggvis, ggforce, and more—to create custom, interactive visualization solutions. Create, design, and build interactive dashboards using Shiny A highly practical guide to help you get to grips with the basics of data visualization techniques, and how you can implement them using R Who This Book Is For If you are looking to create custom data visualization solutions using the R programming language and are stuck somewhere in the process, this book will come to your rescue. Prior exposure to packages such as ggplot2 would be useful but not necessary. However, some R programming knowledge is required. What You Will Learn Get to know various data visualization libraries available in R to represent data Generate elegant codes to craft graphics using ggplot2, ggvis and plotly Add elements, text, animation, and colors to your plot to make sense of data Deepen your knowledge by adding bar-charts, scatterplots, and time series plots using ggplot2 Build interactive dashboards using Shiny. Color specific map regions based on the values of a variable in your data frame Create high-quality journal-publishable scatterplots Create and design various three-dimensional and multivariate plots In Detail R is an open source language for data analysis and graphics that allows users to load various packages for effective and better data interpretation. Its popularity has soared in recent years because of its powerful capabilities when it comes to turning different kinds of data into intuitive visualization solutions. This book is an update to our earlier R data visualization cookbook with 100 percent fresh content and covering all the cutting edge R data visualization tools. This book is packed with practical recipes, designed to provide you with all the guidance needed to get to grips with data visualization using R. It starts off with the basics of ggplot2, ggvis, and plotly visualization packages, along with an introduction to creating maps and customizing them, before progressively taking you through various ggplot2 extensions, such as ggforce, ggrepel, and gganimate. Using real-world datasets, you will analyze and visualize your data as histograms, bar graphs, and scatterplots, and customize your plots with various themes and coloring options. The book also covers advanced visualization aspects such as creating interactive dashboards using Shiny By the end of the book, you will be equipped with key techniques to create impressive data visualizations with professional efficiency and precision. Style and approach This book is packed with practical recipes, designed to provide you with all the guidance needed to get to grips with data visualization with R. You will learn to leverage the power of R and ggplot2 to create highly customizable data visualizations of varying complexities. The readers will then learn how to create, design, and build interactive dashboards using Shiny.
目录展开

Title Page

Copyright

R Data Visualization Recipes

Credits

About the Author

About the Reviewer

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

Installation and Introduction

Introduction

Installing and loading graphics packages

How to do it...

How it works...

There's more

See also...

Using ggplot2, plotly, and ggvis

Getting ready

How to do it...

How it works...

There's more

See also

Making plots using primitives

How to do it...

How it works...

There's more...

Plotting Two Continuous Variables

Introduction

Plotting a basic scatterplot

How to do it...

How it works...

There's more...

Hacking ggvis add_axis() function to operate as a title function

Getting ready

How to do it...

How it works...

Plotting a scatterplot with shapes and colors

How to do it...

How it works...

Plotting a shape reference palette for ggplot2

How to do it...

How it works...

There's more...

Dealing with over-plotting, reducing points

How to do it...

How it works...

There's more...

Dealing with over-plotting, jittering points

How to do it...

How it works...

Dealing with over-plotting, alpha blending

How to do it...

How it works...

There's more...

Rug the margins using geom_rug()

How to do it...

How it works...

Adding marginal histograms using ggExtra

Getting ready

How to do it...

How it works...

Drawing marginal histogram using gridExtra

Getting ready

How to do it...

How it works...

Crafting marginal plots with plotly

How to do it...

How it works...

Adding regression lines

How to do it...

How it works...

Adding quantile regression lines

Getting ready

How to do it...

How it works...

Drawing publish-quality scatterplots

Getting ready

How to do it...

How it works...

See also

Plotting a Discrete Predictor and a Continuous Response

Introduction

Installing car package and getting familiar to data

How to do it...

How does it works...

There is more

See also

Drawing simple box plots

Getting ready

How to do it...

How it works...

Adding notches and jitters to box plots

Getting ready

How to do it...

How it works...

Drawing bivariate dot plots using ggplot2

Getting ready

How to do it...

How does it work...

There is more

Using more suitable colors for geom_dotplot

Getting ready

How to do it...

How it works...

Combining box with dot plots

Getting ready

How it works...

How it works...

See also

Using point geometry to work as dots using ggvis, plotly and ggplot2

Getting ready...

How it works...

How it works...

There is more

Crafting simple violin plots

How to do it...

How it works...

Using stat_summary to customize violin plots

Getting ready

How it works...

How it works...

There is more...

Manually sorting and coloring violins

Getting ready

How to do it...

How it works...

Using joy package to replace violins

Getting ready

How to do it...

How it works...

See also

Creating publication quality violin plots

Getting Ready

How to do it...

How it works...

See also

Plotting One Variable

Introduction

Creating a simple histogram using geom_histogram()

Getting ready

How to do it...

How does it work...

Creating an histogram with custom colors and bins width

Getting ready

How to do it...

How it works...

Crafting and coloring area plots using geom_area() and more

Getting ready

How to do it...

How it works...

Drawing density plots using geom_density()

How to do it...

How it works...

See also

Drawing univariate colored dot plots with geom_dotplot()

Getting ready

How to do it...

How it works...

See also

Crafting univariate bar charts

Getting ready

How to do it...

How it works...

Using rtweet and ggplot2 to plot twitter words frequencies

Getting ready...

How to do it...

How it works...

See also

Drawing publish quality density plot

How to do it...

How it works...

Making Other Bivariate Plots

Introduction

Creating simple stacked bar graphs

Getting ready

How to do it...

How it works...

Crafting proportional stacked bar

Getting ready

How to do it...

How it works...

See also

Plotting side-by-side bar graph

Getting ready

How to do it...

How it works...

See also

Plotting a bar graphic with aggregated data using geom_col()

Getting ready

How to do it...

How it works...

Adding variability estimates to plots with geom_errrorbar()

Getting ready

How to do it...

How it works...

There's more...

See also

Making line plots

Getting ready

How to do it...

How it works...

Making static and interactive hexagon plots

Getting ready

How to do it...

How it works...

There is more...

Adjusting your hexagon plot

Getting ready

How to do it...

How it works...

See also

Developing a publish quality proportional stacked bar graph

Getting ready

How to do it...

How it works...

Creating Maps

Introduction

Making simple maps - 1854 London Streets

Getting ready

How to do it...

How it works...

Creating an interactive cholera map using plotly

Getting ready

How to do it...

How it works...

Crafting choropleth maps using ggplot2

Getting ready

How to do it...

How it works...

Zooming in on the map

Getting ready

How to do it...

How it works...

See also

Creating different maps based on different map projection types

Getting ready

How to do it...

How it works...

See also

Handling shapefiles to map Afghanistan health facilities

Getting ready

How to do it...

How it works...

See also

Crafting an interactive globe using plotly

Getting ready

How to do it...

How it works...

Creating high quality maps

Getting ready

How to do it...

How it works...

See also

Faceting

Introduction

Creating a faceted bar graph

How to do it...

How it works...

Crafting faceted histograms

Getting ready

How to do it...

How it works...

Creating a facet box plot

How to do it...

How it works...

Crafting a faceted line plot

Getting ready

How to do it...

How it works...

There is more

Making faceted scatterplots

Getting ready

How to do it...

How it works...

Creating faceted maps

Getting ready

How to do it...

How it works...

See also

Drawing facets using plotly

How to do it...

How it works...

See also

Plotting a high quality faceted bar graph

How to do it...

How it works...

Designing Three-Dimensional Plots

Introduction

Drawing a simple contour plot using ggplot2

How to do it...

How it works...

Picking a custom number of contour lines

How to do it...

How it works...

Using the directlabels package to label the contours

Getting ready

How to do it...

How it works...

See also

Crafting a simple tile plot with ggplot2

How to do it...

How it works...

Creating simple raster plots with ggplot2

How to do it...

How it works...

There is more

Designing a three-dimensional plot with plotly

Getting ready

How to do it...

How it works...

Crafting a publication quality contour plot

How to do it...

How it works...

Using Theming Packages

Introduction

Drawing a bubble plot

Getting ready

How to do it...

How it works...

Popular themes with ggthemes

Getting Ready

How to do it...

How it works...

There's more...

See also

Applying sci themes with ggsci

Getting Ready

How to do it...

How it works...

See also

Importing new fonts with the extrafont package

Getting Ready

How to do it...

How it works...

There's more...

Using ggtech to mimic tech companies themes

Getting Ready

How to do it...

How it works...

There's more...

See also

Wrapping a custom theme function

Getting ready

How to do it...

How it works...

See also

Applying awesome themes and checking misspells with hrbrthemes

Getting Ready

How to do it...

How it works...

There's more...

See also

Designing More Specialized Plots

Introduction

Drawing wonderful facets zoom with the ggforce package

Getting Ready

How to do it...

How it works...

See also

Drawing sina plots with ggforce

Getting Ready

How to do it...

How it works...

Using ggrepel to plot non-overlaying texts

Getting Ready

How to do it...

How it works...

There's more...

See also

Visualizing relational data structures with ggraph

Getting Ready

How to do it...

How it works...

See also

Draw alternative lollipop and density plots with ggalt

Getting Ready

How to do it...

How it works...

See also

Making Interactive Plots

Introduction

Using ggiraph to create interactive plots

Getting ready

How to do it...

How it works...

See also

Using gganimate to craft animated ggplots

Getting ready

How to do it...

How it works...

See also

Crafting animated plots with tweenr

Getting ready

How to do it...

How it works...

See also

Building Shiny Dashboards

Introduction

Installing and loading a shiny package

How to do it...

How it works...

Creating basic shiny interactive plots

Getting ready

How to do it...

How it works...

See also

Developing intermediate shiny interactive plots

Getting ready

How to do it...

How it works...

There's more...

Building a shiny dashboard

Getting ready

How to do it...

How it works...

See also

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部