R Data Visualization Cookbook.

R is an open source language for data analysis and graphics. It is platform-independent and allows users to load various packages as well as develop their own packages to interpret data better. This book is packed with practical recipes, designed to provide you with all the guidance needed to get to...

Full description

Saved in:
Bibliographic Details
Main Author: Gohil, Atmajitsinh
Format: Electronic eBook
Language:English
Published: Packt Publishing, 2015.
Subjects:
Online Access: Full text (Emmanuel users only)
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: A Simple Guide to R; Installing packages and getting help in R; Data types in R; Special values in R; Matrices in R; Editing a matrix in R; Data frames in R; Editing a data frame in R; Importing data in R; Exporting data in R; Writing a function in R; Writing if else statements in R; Basic loops in R; Nested loops in R; The apply, lapply, sapply, and tapply functions; Using par to beautify a plot in R; Saving plots; Chapter 2: Basic and Interactive Plots; Introduction
  • Introducing a scatter plotScatter plots with texts, labels, and lines; Connecting points in a scatter plot; Generating an interactive scatter plot; A simple bar plot; An interactive bar plot; A simple line plot; Line plot to tell an effective story; Generating an interactive Gantt/timeline chart in R; Merging histograms; Making an interactive bubble plot; Constructing a waterfall plot in R; Chapter 3: Heat Maps and Dendrograms; Introduction; Constructing a simple dendrogram; Creating dendrograms with colors and labels; Creating a heat map; Generating a heat map with customized colors
  • Generating an integrated dendrogram and heat mapCreating a three-dimensional heat map and a stereo map; Constructing a tree map in R; Chapter 4: Maps; Introduction; Introducing regional maps; Introducing choropleth maps; A guide to contour maps; Constructing maps with bubbles; Integrating text with maps; Introducing shapefiles; Creating cartograms; Chapter 5: The Pie Chart and its Alternatives; Introduction; Generating a simple pie chart; Constructing pie charts with labels; Creating donut plots and interactive plots; Generating a slope chart ; Constructing a fan plot
  • Chapter 6: Adding the Third DimensionIntroduction; Constructing a 3D scatter plot; Generating a 3D scatter plot with text; A simple 3D pie chart; A simple 3D histogram; Generating a 3D contour plot; Integrating a 3D contour and a surface plot; Animating a 3D surface plot; Chapter 7: Data in Higher Dimensions; Introduction; Constructing a sunflower plot; Creating a hexbin plot; Generating interactive calendar maps; Creating Chernoff faces in R; Constructing a coxcomb plot in R; Constructing network plots; Constructing a radial plot; Generating a very basic pyramid plot
  • Chapter 8: Visualizing Continuous DataIntroduction; Generating a candlestick plot; Generating interactive Candlestick plots; Generating a decomposed time series; Plotting a regression line; Constructing a box and whiskers plot; Generating a violin plot; Generating a quantile-quantile plot (QQ plot); Generating a density plot; Generating a simple correlation plot; Chapter 9: Visualizing Text and XKCD-style Plots; Introduction; Generating a word cloud; Constructing a word cloud from a document; Generating a comparison cloud; Constructing a correlation plot and a phrase tree