售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
R Data Visualization Cookbook
Table of Contents
R Data Visualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. A Simple Guide to R
Installing packages and getting help in R
Getting ready
How to do it…
How it works…
There's more…
See also
Data types in R
How to do it…
Special values in R
How to do it…
How it works…
Matrices in R
How to do it…
How it works…
Editing a matrix in R
How to do it…
Data frames in R
How to do it…
Editing a data frame in R
How to do it...
Importing data in R
How to do it...
How it works…
Exporting data in R
How to do it…
How it works…
Writing a function in R
Getting ready
How to do it…
How it works…
See also
Writing if else statements in R
How to do it…
How it works…
Basic loops in R
How to do it…
How it works…
Nested loops in R
How to do it…
The apply, lapply, sapply, and tapply functions
How to do it…
How it works…
Using par to beautify a plot in R
How to do it…
How it works…
Saving plots
How to do it…
How it works…
2. Basic and Interactive Plots
Introduction
Introducing a scatter plot
Getting ready
How to do it…
How it works…
Scatter plots with texts, labels, and lines
How to do it…
How it works…
There's more…
See also
Connecting points in a scatter plot
How to do it…
How it works…
There's more…
See also
Generating an interactive scatter plot
Getting ready
How to do it…
How it works…
There's more…
See also
A simple bar plot
How to do it…
How it works…
There's more…
See also
An interactive bar plot
Getting ready
How to do it…
How it works…
There's more…
See also
A simple line plot
Getting ready
How to do it…
How it works…
See also
Line plot to tell an effective story
Getting ready
How to do it…
How it works…
See also
Generating an interactive Gantt/timeline chart in R
Getting ready
How to do it…
See also
Merging histograms
How to do it…
How it works…
Making an interactive bubble plot
How to do it…
How it works…
There's more…
See also
Constructing a waterfall plot in R
Getting ready
How to do it…
3. Heat Maps and Dendrograms
Introduction
Constructing a simple dendrogram
Getting ready
How to do it…
How it works…
There's more...
See also
Creating dendrograms with colors and labels
Getting ready
How to do it…
How it works…
There's more…
Creating a heat map
Getting ready
How to do it…
How it works…
There's more…
See also
Generating a heat map with customized colors
Getting ready
How to do it…
How it works…
Generating an integrated dendrogram and a heat map
How to do it…
There's more…
See also
Creating a three-dimensional heat map and a stereo map
Getting ready
How to do it…
See also
Constructing a tree map in R
Getting ready
How to do it…
How it works…
There's more…
See also
4. Maps
Introduction
Introducing regional maps
Getting ready
How to do it…
How it works…
See also
Introducing choropleth maps
Getting ready
How to do it…
How it works…
There's more…
See also
A guide to contour maps
How to do it…
How it works…
There's more…
See also
Constructing maps with bubbles
Getting ready
How to do it…
How it works...
There's more…
See also
Integrating text with maps
Getting ready
How to do it…
See also
Introducing shapefiles
Getting ready
How to do it…
See also
Creating cartograms
Getting ready
How to do it…
See also
5. The Pie Chart and Its Alternatives
Introduction
Generating a simple pie chart
How to do it…
How it works…
There's more...
See also
Constructing pie charts with labels
Getting ready
How to do it…
How it works…
There's more…
Creating donut plots and interactive plots
Getting rady
How to do it...
How it works…
There's more…
See also
Generating a slope chart
Getting ready
How to do it…
How it works…
See also
Constructing a fan plot
Getting ready
How to do it…
How it works…
6. Adding the Third Dimension
Introduction
Constructing a 3D scatter plot
Getting ready
How to do it…
How it works…
There's more…
See also
Generating a 3D scatter plot with text
Getting ready
How to do it…
How it works…
There's more…
See also
A simple 3D pie chart
Getting ready
How to do it…
How it works…
A simple 3D histogram
Getting ready
How to do it…
How it works…
There's more...
Generating a 3D contour plot
Getting ready
How to do it…
How it works…
Integrating a 3D contour and a surface plot
Getting ready
How to do it…
How it works…
There's more...
See also
Animating a 3D surface plot
Getting ready
How to do it…
How it works…
There's more…
See also
7. Data in Higher Dimensions
Introduction
Constructing a sunflower plot
Getting ready
How to do it…
How it works…
See also
Creating a hexbin plot
Getting ready
How to do it…
How it works…
See also
Generating interactive calendar maps
Getting ready
How to do it…
How it works…
See also
Creating Chernoff faces in R
Getting ready
How to do it…
How it works…
Constructing a coxcomb plot in R
Getting ready
How to do it…
How it works…
See also
Constructing network plots
Getting ready
How to do it…
How it works…
There's more…
See also
Constructing a radial plot
Getting ready
How to do it…
How it works…
There's more…
See also
Generating a very basic pyramid plot
Getting ready
How to do it…
How it works…
See also
8. Visualizing Continuous Data
Introduction
Generating a candlestick plot
Getting ready
How to do it…
How it works…
There's more…
See also
Generating interactive candlestick plots
Getting ready
How to do it…
How it works…
Generating a decomposed time series
How to do it…
How it works…
There's more…
See also
Plotting a regression line
How to do it…
How it works…
See also
Constructing a box and whiskers plot
Getting ready
How to do it…
How it works…
See also
Generating a violin plot
Getting ready
How to do it…
Generating a quantile-quantile plot (QQ plot)
Getting ready
How to do it…
See also
Generating a density plot
Getting ready
How to do it…
How it works…
There's more…
See also
Generating a simple correlation plot
Getting ready
How to do it…
How it works…
There's more…
See also
9. Visualizing Text and XKCD-style Plots
Introduction
Generating a word cloud
Getting ready
How to do it…
How it works…
There's more…
See also
Constructing a word cloud from a document
Getting ready
How to do it…
How it works…
There's more…
See also
Generating a comparison cloud
Getting ready
How to do it…
How it works…
See also
Constructing a correlation plot and a phrase tree
Getting ready
How to do it…
How it works…
There's more…
See also
Generating plots with custom fonts
Getting ready
How to do it…
How it works…
See also
Generating an XKCD-style plot
Getting ready
How to do it…
See also
10. Creating Applications in R
Introduction
Creating animated plots in R
Getting ready
How to do it…
How it works…
Creating a presentation in R
Getting ready
How to do it…
How it works…
There's more…
See also
A basic introduction to API and XML
Getting ready
How to do it…
How it works…
See also
Constructing a bar plot using XML in R
Getting ready
How to do it…
How it works…
See also
Creating a very simple shiny app in R
Getting ready
How to do it…
How it works…
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜