R Graph Cookbook and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £0.25 Amazon.co.uk Gift Card
R Graph Cookbook
 
 
Start reading R Graph Cookbook on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

R Graph Cookbook [Paperback]

Hrishi Mittal
4.0 out of 5 stars  See all reviews (2 customer reviews)
RRP: £30.99
Price: £29.44 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £1.55 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Want guaranteed delivery by Thursday, May 31? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £15.65  
Paperback £29.44  
Trade In this Item for up to £0.25
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in R Graph Cookbook for an Amazon.co.uk gift card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

R Graph Cookbook + R Cookbook (O'Reilly Cookbooks) + The Art of R Programming: A Tour of Statistical Software Design
Price For All Three: £74.14

Show availability and delivery details

Buy the selected items together


Product details

  • Paperback: 272 pages
  • Publisher: PACKT PUBLISHING (14 Jan 2011)
  • Language English
  • ISBN-10: 1849513066
  • ISBN-13: 978-1849513067
  • Product Dimensions: 23.2 x 19 x 1.8 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 68,139 in Books (See Top 100 in Books)

Product Description

Product Description

With more than two million users worldwide, R is one of the most popular open source projects. It is a free and robust statistical programming environment with very powerful graphical capabilities. Analyzing and visualizing data with R is a necessary skill for anyone doing any kind of statistical analysis, and this book will help you do just that in the easiest and most efficient way possible.

Unlike other books on R, this book takes a practical, hands-on approach and you dive straight into creating graphs in R right from the very first page.
You want to harness the power of this open source programming language to visually present and analyze your data in the best way possible – and this book will show you how.

The R Graph Cookbook takes a practical approach to teaching how to create effective and useful graphs using R. This practical guide begins by teaching you how to make basic graphs in R and progresses through subsequent dedicated chapters about each graph type in depth. It will demystify a lot of difficult and confusing R functions and parameters and enable you to construct and modify data graphics to suit your analysis, presentation, and publication needs.

You will learn all about making graphics such as scatter plots, line graphs, bar charts, pie charts, dot plots, heat maps, histograms and box plots. In addition, there are detailed recipes on making various combinations and advanced versions of these graphs. Dedicated chapters on polishing and finalizing graphs will enable you to produce professional-quality graphs for presentation and publication. With R Graph Cookbook in hand, making graphs in R has never been easier.

About the Author

Dick Weisinger


Dick is Vice President and Chief Technologist at Formtek, Inc. and has more than 20 years experience in the areas of Content, Document and Image Management. His career spans many projects and organizations and he has contributed to software solutions used for health care, finance, engineering, discrete manufacturing, and aerospace and defense applications. Dick is a regular contributor to the Formtek blog at formtek.com/blog on topics that include ECM, SaaS, Open Source, SOA and New Technology.

Dick earned a Masters of Engineering Science in Operations Research from the University of California at Berkeley and a Masters of Engineering Science from the Johns Hopkins University. Dick is an AIIM-certified Records Management Specialist.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
3 star
0
2 star
0
1 star
0
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
R Graph Cookbook 21 Mar 2011
Format:Paperback
This book is very clearly laid out and each graph type follows the same treatment: graph example as a figure, R code to generate the plot and a walk thru describing what the code does. There are also pointers to more advanced options for most graph types. Preparing graphs to publication standard gets its own chapter.

The book has already proved useful for prompting me on a few things I had forgotten and which are buried deep in other textbooks. It will probably sit on my desk most of the time to be quickly consulted. However, it can't hope to cover all the options for graphing in R but perhaps that is too much to ask given the ever expanding range of packages available in R. It does however cover most of the basics that a beginner to moderate experienced person might need and some more advanced issues such as the time-series package 'zoo' and how to create basic maps.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
Format:Paperback
As a scientist I often need to plot graphs of my data, so I am keen to learn more about how to do this in various languages. I tend to use R for most of my statistical analysis, so plotting graphs in R is something that I often need to do. I have a bit of knowledge about R already (mainly gained from the books that I have previous reviewed about R), and looked to this book to explain more about graphing in R. As stated in the title it is a `cookbook' - a type of technical book that provides a number of `recipes' for performing various tasks, and this is both one of the main advantages and main disadvantages of this book.

However, I am pleased to say that this book is actually very good. It starts with an overview chapter that contains basic recipes for plotting various types of graphs (all of which are covered in greater detail later on in the book) as well as exporting the graphs to be used in other documents. Then comes one of the most important chapters - a detailed explanation of the par() command for adjusting parameters such as margins, colours, fonts and styles. Again, this is presented in `recipe' form (of which more below) which again is a double-edged sword: it makes it easy to find the parameter setting you're looking for, but harder to get an overview of the range of different parameters you can set. A simple table at the end of this chapter listing the parameters and the possible options for each of them would have been very useful - but was sadly not included.

The rest of the book goes through a number of types of graph, providing detailed recipes for creating them. They start with the most important types of plot: scatter graphs and line graphs (with a helpful emphasis on plotting time-series data with sensible axes labels) before moving on to bar charts, pie charts, histograms and box and whisker plots. All of this would be expected in a book on graphing software - however, this book goes further by providing a section on heat-maps and contour plots, and then a section on creating maps. The heat-maps section is particularly interesting, and I can see a number of applications of the example visualisations they have provided. The book then closes with a chapter on exporting graphs for display - both to raster and vector formats.

As mentioned already, all of the information is provided in the form of `recipes', which have a standard format of: introduction, getting ready, how to do it, how it works..., there's more... and see also. This tends to work well for most parts of the book - with the introduction explaining the type of graph and why you might want to use it, getting ready showing you how to load the required libraries, how to do it providing code and how it works explaining the code, with more options being explained in there's more and see also. However, this falls down slightly when dealing with topics that require a little more explanation - such as the section on exporting graphics for publication, which could really do with having a more detailed section on the difference between raster and vector output, and how to choose between them.

The book generally choses sensible datasets to plot for each graph, although at times the code is made unnecessarily confusing by adding lots of code to download datasets via web APIs (useful to be able to do, but perhaps not hugely relevant to the topic of this book). Apart from this, the code is generally well written, although some extra comments in the code might have been helpful - as it would save me constantly referencing between the how to do it and how it works sections.

Overall, I will definitely keep this book on my shelf as a handy reference for when I need to create a graph quickly in R, although I would recommend combining this book with another book (for example R in a Nutshell) for more details on the graphing functions and the rest of R.

(Disclaimer: I was given a free review copy of this book)
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  5 reviews
13 of 13 people found the following review helpful
Fills a gap 21 Aug 2011
By Dimitri Shvorob - Published on Amazon.com
Format:Paperback
I was going for three stars: my inner Communist made it clear that charging $50 for a book that, "properly edited", would be only a hundred pages long, was exploitation. ("Look at page 132", he said, "Bar labels on a bar chart - placed above bars, beside bars, and within bars. The difference between the three options is just several characters. Joe Adler or Paul Teetor would give one example in full, note the changes, and maybe show the three plots in a single small panel. This guy shows each case in full, on three and a half pages... Or what counts for a page here - have you seen a book with more white space?") Then Amazon reduced the price to $43, and Karl Marx - pointing out that this book still costs more than the considerably more substantial "R in a Nutshell" or "R Cookbook" - quieted down a bit.

Experienced R users will find the discussion "too soft", basic and limited in scope, albeit appreciate the occasional good bits. (I noted such items as "reversing" axes with xlim/ylim, discussion of palettes, "proper" setting of chart's background color, fonts, mathematical expressions in chart annotations (special kudos here), grouped scatter plots, 3D scatter plots, interactive 3D surface plots, sparklines and custom axes. The chapter on maps/GIS is a dead weight for me, but a treat for someone else. The finance-themed example using "quantmod" package was a nice touch).

The book will be very helpful to R novices, whose options would otherwise be limited to selected pages of "R Cookbook", "R in a Nutshell" (a wealth of information, including discussion of "lattice" and "trellis" packages - contrast this to "R Graphs Cookbook" using a token function from "lattice" or "ggplot2" - but only a step above R documentation in terms of user-friendliness), Quick-R Web site and miscellaneous online resources. My advice for them would be: get the book, read it alongside Quick-R print-outs, and try to get the hang of R documentation and (aided by Google or "RSiteSearch") advice in R forum archives.

PS. Robert Kabacoff, the person behind Quick-R, has since published a book, "R in Action". While I readily endorse it for a host of other reasons, "R in Action" does not spend a lot of pages on graphics, so Quick-R is the better reference in this regard.
13 of 14 people found the following review helpful
Completely useful 28 Jun 2011
By I Teach Typing - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
Because R has so many libraries full of great graphic procedures, you will never get a book with everything you need but this book is pretty darn excellent. As you can see from the table of contents, this book covers all the graphics you typically see in scientific publications. The examples for every type of graphic start out really easy (like do a basic scatter plot) and build to complex multiple panel layouts with many options set (like how to render a PDF with a scatterplot with custom titles symbols, fonts, and histograms on the margins). None of the examples are contrived or just "show off." Everything flows and the graphics are excellent and practical.

What is particularly nice about the book is the level of repetition. Commonly used global graphics parameters are discussed early in the book and then show up in great examples in later chapters (explained at a good level in context). So, if you can plow through the details and memorize the parameters out of context you can or if you prefer to learn through examples you get to see the parameters used later.

On the down side there are a few typos (like where the code says the labels are horizontal but the graph has them vertical) and the graphics are all done in black-and-white. The code and data-sets are easy to download so the lack of color is not much of a drag. A more substantial complaint is that there is not enough about the lattice or ggplot2 R packages and there is nothing useful on making interactive graphs. Even with these failures, this book is totally fantastic for the beginner to intermediate level R user.
11 of 14 people found the following review helpful
Makes graphing much easier 17 April 2011
By Richard J. Wagner - Published on Amazon.com
Format:Paperback
This book is designed for the experienced R user who wants to begin using the impressive graphic capabilities of R. While that's an ideal audience, I'd go a step farther and suggest that even an R novice could use this book to produce impressive graphs.

The book explains the various graph types (scatter plots, line plots, pie graphs, bar charts, histograms, box and whisker plots, heat maps, contour maps, regular maps, etc.) and how to make them. IMHO, one of the best features of the book is the downloadable source code and sample data. If you have a need to produce a given type of graph-- let's say a pie chart-- you can download the code and data, and quickly see the effects of changing the multitude of options available to you.

The book comes in Packt's 'recipe' format, which means a template-format is used for each section. In this case, I'd say it works pretty well. If I had one wish to improve the book, I'd wish for a comprehensive index that covers the various functions and arguments that enhance the basic functionality of each graph type. These are frequently re-usable across the different graph types, so it would help you to 'mix and mash' your own graphs if such an index existed.

All things considered, this book has a welcome place on my reference shelf. When I need to produce some impressive business graphs, I know where I'm going to reach first.
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges