Cover image for R Graph Cookbook.
R Graph Cookbook.
Title:
R Graph Cookbook.
Author:
Mittal, Hrishi V.
ISBN:
9781849513074
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (371 pages)
Contents:
R Graphs Cookbook -- Table of Contents -- R Graphs 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 -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. Basic Graph Functions -- Introduction -- Creating scatter plots -- Getting ready -- How to do it... -- How it works... -- There's more... -- A note on R's inbuilt datasets -- See also -- Creating line graphs -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating bar charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating histograms and density plots -- How to do it... -- How it works... -- There's more... -- See also -- Creating box plots -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Adjusting X and Y axes limits -- How to do it... -- How it works... -- There's more... -- See also -- Creating heat maps -- How to do it... -- How it works... -- There's more... -- See also -- Creating pairs plots -- How to do it... -- How it works... -- There's more... -- See also -- Creating multiple plot matrix layouts -- How to do it... -- How it works... -- There's more... -- See also -- Adding and formatting legends -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Creating graphs with maps -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Saving and exporting graphs -- How to do it... -- How it works... -- There's more... -- See also -- 2. Beyond the Basics: Adjusting Key Parameters -- Introduction.

Setting colors of points, lines, and bars -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Setting plot background colors -- Getting ready -- How to do it... -- How it works... -- There's more... -- Setting colors for text elements: axis annotations, labels, plot titles, and legends -- Getting ready -- How to do it... -- How it works... -- There's more... -- Choosing color combinations and palettes -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Setting fonts for annotations and titles -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Choosing plotting point symbol styles and sizes -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Choosing line styles and width -- Getting ready -- How to do it... -- How it works... -- See also -- Choosing box styles -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adjusting axis annotations and tick marks -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Formatting log axes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Setting graph margins and dimensions -- Getting ready -- How to do it... -- How it works... -- See also -- 3. Creating Scatter Plots -- Introduction -- Grouping data points within a scatter plot -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Highlighting grouped data points by size and symbol type -- Getting ready -- How to do it... -- How it works... -- Labelling data points -- Getting ready -- How to do it... -- How it works... -- There's more... -- Correlation matrix using pairs plot -- Getting ready -- How to do it... -- How it works... -- Adding error bars -- Getting ready -- How to do it...

How it works... -- There's more... -- Using jitter to distinguish closely packed data points -- Getting ready -- How to do it... -- How it works... -- Adding linear model lines -- Getting ready -- How to do it... -- How it works... -- Adding non-linear model curves -- Getting ready -- How to do it... -- How it works... -- Adding non-parametric model curves with lowess -- Getting ready -- How to do it... -- How it works... -- Making three-dimensional scatter plots -- Getting ready -- How to do it... -- How it works... -- There's more... -- How to make Quantile-Quantile plots -- Getting ready -- How to do it... -- How it works... -- There's more... -- Displaying data density on axes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Making scatter plots with smoothed density representation -- Getting ready -- How to do it... -- How it works... -- There's more... -- 4. Creating Line Graphs and Time Series Charts -- Introduction -- Adding customized legends for multiple line graphs -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Using margin labels instead of legends for multiple line graphs -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding horizontal and vertical grid lines -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Adding marker lines at specific X and Y values -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating sparklines -- Getting ready -- How to do it... -- How it works... -- Plotting functions of a variable in a dataset -- Getting ready -- How to do it... -- How it works... -- There's more... -- Formatting time series data for plotting -- Getting ready -- How to do it... -- How it works... -- There's more... -- Plotting date and time on the X axis -- Getting ready.

How to do it... -- How it works... -- There's more... -- Annotating axis labels in different human readable time formats -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adding vertical markers to indicate specific time events -- Getting ready -- How to do it... -- How it works... -- There's more... -- Plotting data with varying time averaging periods -- Getting ready -- How to do it... -- How it works... -- Creating stock charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- 5. Creating Bar, Dot, and Pie Charts -- Introduction -- Creating bar charts with more than one factor variable -- Getting ready -- How to do it... -- How it works... -- See also -- Creating stacked bar charts -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adjusting the orientation of bars-horizontal and vertical -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adjusting bar widths, spacing, colors, and borders -- Getting ready -- How to do it... -- How it works... -- There's more... -- Displaying values on top of or next to the bars -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Placing labels inside bars -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating bar charts with vertical error bars -- Getting ready -- How to do it... -- How it works... -- There's more... -- Modifying dot charts by grouping variables -- Getting ready -- How to do it... -- How it works... -- Making better readable pie charts with clockwise-ordered slices -- Getting ready -- How to do it... -- How it works... -- See also -- Labelling a pie chart with percentage values for each slice -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Adding a legend to a pie chart -- Getting ready.

How to do it... -- How it works... -- There's more... -- 6. Creating Histograms -- Introduction -- Visualizing distributions as count frequencies or probability densities -- Getting ready -- How to do it... -- How it works... -- There's more... -- Setting bin size and number of breaks -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adjusting histogram styles: bar colors, borders, and axes -- Getting ready -- How to do it... -- How it works... -- There's more... -- Overlaying density line over a histogram -- Getting ready -- How to do it... -- How it works... -- Multiple histograms along the diagonal of a pairs plot -- Getting ready -- How to do it... -- How it works... -- Histograms in the margins of line and scatter plots -- Getting ready -- How to do it... -- How it works... -- 7. Creating Box and Whisker Plots -- Introduction -- Creating box plots with narrow boxes for a small number of variables -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Grouping over a variable -- Getting ready -- How to do it... -- How it works... -- There's more... -- See also -- Varying box widths by number of observations -- Getting ready -- How to do it... -- How it works... -- Creating box plots with notches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Including or excluding outliers -- Getting ready -- How to do it... -- How it works... -- See also -- Creating horizontal box plots -- Getting ready -- How to do it... -- How it works... -- Changing box styling -- Getting ready -- How to do it... -- How it works... -- There's more... -- Adjusting the extent of plot whiskers outside the box -- Getting ready -- How to do it... -- How it works... -- There's more... -- Showing the number of observations -- Getting ready -- How to do it... -- How it works...

There's more...
Abstract:
Detailed hands-on recipes for creating the most useful types of graphs in R - starting from the simplest versions to more advanced applications.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: