The R Book and over one million other books are available for Amazon Kindle. Learn more

This item ships for FREE with
Super Saver Shipping
Due Date: Sep 30, 2013

FREE return shipping at the end of the semester
 
   
Sell Us Your Item
For a $14.13 Gift Card
Trade in
Have one to sell? Sell yours here
Start reading The R Book on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

The R Book [Hardcover]

Michael J. Crawley
3.9 out of 5 stars  See all reviews (38 customer reviews)

Rent
$44.38 & this item ships for FREE with Super Saver Shipping. Details
In Stock.
Rented by RentU and Fulfilled by Amazon.
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $79.99  
Hardcover --  
Unknown Binding --  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now
There is a newer edition of this item:
The R Book The R Book 4.5 out of 5 stars (11)
$83.46
In Stock.

Book Description

June 19, 2007 0470510242 978-0470510247 1
The high-level language of R is recognized as one of the most powerful and flexible statistical software environments, and is rapidly becoming the standard setting for quantitative analysis, statistics and graphics. R provides free access to unrivalled coverage and cutting-edge applications, enabling the user to apply numerous statistical methods ranging from simple regression to time series or multivariate analysis.

Building on the success of the author’s bestselling Statistics: An Introduction using R, The R Book is packed with worked examples, providing an all inclusive guide to R, ideal for novice and more accomplished users alike. The book assumes no background in statistics or computing and introduces the advantages of the R environment, detailing its applications in a wide range of disciplines.

  • Provides the first comprehensive reference manual for the R language, including practical guidance and full coverage of the graphics facilities.
  • Introduces all the statistical models covered by R, beginning with simple classical tests such as chi-square and t-test.
  • Proceeds to examine more advance methods, from regression and analysis of variance, through to generalized linear models, generalized mixed models, time series, spatial statistics, multivariate statistics and much more.

The R Book is aimed at undergraduates, postgraduates and professionals in science, engineering and medicine. It is also ideal for students and professionals in statistics, economics, geography and the social sciences.



Editorial Reviews

Amazon.com Review

The high-level language of R is recognized as one of the most powerful and flexible statistical software environments, and is rapidly becoming the standard setting for quantitative analysis, statistics and graphics. R provides free access to unrivalled coverage and cutting-edge applications, enabling the user to apply numerous statistical methods ranging from simple regression to time series or multivariate analysis.

Building on the success of the author’s bestselling Statistics: An Introduction using R, The R Book is packed with worked examples, providing an all inclusive guide to R, ideal for novice and more accomplished users alike. The book assumes no background in statistics or computing and introduces the advantages of the R environment, detailing its applications in a wide range of disciplines.

  • Provides the first comprehensive reference manual for the R language, including practical guidance and full coverage of the graphics facilities.
  • Introduces all the statistical models covered by R, beginning with simple classical tests such as chi-square and t-test.
  • Proceeds to examine more advance methods, from regression and analysis of variance, through to generalized linear models, generalized mixed models, time series, spatial statistics, multivariate statistics and much more.

The R Book is aimed at undergraduates, postgraduates and professionals in science, engineering and medicine. It is also ideal for students and professionals in statistics, economics, geography and the social sciences.


Excerpts from Chapter 4 of The R Book

Chapter 4: Level Set Trees and Code
Learn how to make a volume plot and a barycenter plot, and calculate level set trees with the algorithm LeafsFirst, which is implemented in function ``leafsfirst''. This function takes as an argument a piecewise constant function object.

The multimodal 2D example

(Click on image to enlarge)

We consider the density shown in the 2D three-modal density, and calculate first a piecewise constant function object representing this function, and then calculate the level set tree.

N<-c(35,35)                      # size of the grid pcf<-sim.data(N=N,type="mulmod") # piecewise constant function lst.big<-leafsfirst(pcf)         # level set tree 
We may make the volume plot with the command ''plotvolu(lst)''. However, it is faster first to prune the level set tree, and then plot the reduced level set tree. Function ''treedisc'' takes as the first argument a level set tree, as the second argument the original piecewise constant function, and the 3rd argument ''ngrid'' gives the number of levels in the pruned level set tree. We try the number of levels ngrid=100.
lst<-treedisc(lst.big,pcf,ngrid=100) 

Now we may make a volume plot with the function ''plotvolu''.

plotvolu(lst) 

We draw barycenter plots with the function ''plotbary''.

 plotbary(lst,coordi=2)  # 2nd coordinate 

Note: We may find the number and the location of the modes with the ''modecent'' function, which takes as argument a level set tree. Function ''locofmax'' takes as argument a piecewise constant function and calculates the location of the maximum.

modecent(lst) locofmax(pcf) 

The 3D tetrahedron example

(Click on image to enlarge)

We consider the 3-dimensional example. The calculation is much more time consuming this time.

N<-c(32,32,32)                    # the size of the grid pcf<-sim.data(N=N,type="tetra3d") # piecewise constant function lst.big<-leafsfirst(pcf)             # level set tree lst<-treedisc(lst.big,pcf,ngrid=200) # pruned level set tree plotvolu(lst,modelabel=FALSE)        # volume plot plotvolu(lst,cutlev=0.010,ptext=0.00045,colo=TRUE) # zooming coordi<-1                   # coordinate, coordi = 1, 2, 3 plotbary(lst,coordi=coordi,ptext=0.0006) # barycenter plot  

This time we have used parameter ''cutlev'' to make a zoomed volume plot. When this parameter is given, then only the part of the level set tree is shown which is above the value ''cutlev''. Typically it is better to zoom in to the volume plot by cutting the tails of the volume function away. This is achieved by the parameter ''xlim''. We may us for example the following command to make a ``vertically zoomed'' volume plot.

plotvolu(lst,xlim=c(140,220),ptext=0.00045,          colo=TRUE,modelabel=FALSE)  

Additional parameters which we have used are the ''modelabel'', which is used to suppress the plotting of the mode labels, ''ptext'', which lifts the mode labels with the given amount, and ''colo'', which colors the graph of the volume function to make a comparison with the barycenter plots easier.

The 4D pentahedron example

(Click on image to enlarge)

We consider the 4-dimensional example.

N<-c(16,16,16,16)   pcf<-sim.data(N=N,type="penta4d") lst.big<-leafsfirst(pcf) lst<-treedisc(lst.big,pcf,ngrid=100) plotvolu(lst,modelabel=F)  # volume plot plotvolu(lst,cutlev=0.0008,ptext=0.00039,colo=TRUE) # zooming coordi<-1               # coordinate, coordi = 1, 2, 3, 4 plotbary(lst,coordi=coordi,ptext=0.0003) # barycenter plot 

Review

"It may seem strange to include a new edition of a textbook in the preview, but I feel that this is one that is definitely worth highlighting. It is a classic that does not just sell to students during term time but has a much wider appeal ... This edition will sell really well on publication." (The Bookseller, 16 December 2011)

"There is a tremendous amount of information in the book, and it will be very helpful … .This is a potentially very useful book." (Journal of Applied Science, December 2008)

"…if you are an R user or wannabe R user, this text is the one that should be on your shelf.  The breadth of topics covered is unsurpassed when it comes to texts on data analysis in R." (The American Statistician, Aug 2008)

"The R Book; provides the first comprehensive reference manual for the R language." (Statistica 2008)

"…a 950-page comprehensive reference manual for what is perhaps becoming the most powerful and flexible statistical software environment…" (CHOICE, December 2007)

‘The High-level software language of R is setting standards in quantitative analysis. And now anybody can get to grips with it thanks to The R Book…’ (Professional Pensions, 19th July 2007)  

"There is a tremendous amount of information in the book, and it will be very helpful … .This is a potentially very useful book." (Journal of Applied Science, Dec 2008)

 


Product Details

  • Hardcover: 950 pages
  • Publisher: Wiley; 1 edition (June 19, 2007)
  • Language: English
  • ISBN-10: 0470510242
  • ISBN-13: 978-0470510247
  • Product Dimensions: 6.8 x 2.2 x 9.8 inches
  • Shipping Weight: 3.7 pounds
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #226,574 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews
237 of 238 people found the following review helpful
4.0 out of 5 stars some flaws, but useful overall December 8, 2007
By Delta1
Format:Hardcover
This book is both ponderous and expensive, so my decision to buy it was predicated on the dual claim that it's 'the first comprehensive reference manual for the R language' and `ideal for novice and accomplished user alike'. As an R beginner and non-statistician (with some long-ago training therein) pressed into scientific data analysis on a regular basis, I wanted a comprehensive reference that covers both the R language and theory behind modern applied statistical methods.This is no small undertaking, but Crawley succeeds reasonably well at the task.

The book contains 27 chapters. The first 5 chapters cover subjects like getting started, essentials of the R language, data input, data frames, and graphics. A lot of the information in these chapters is freely available online at CRAN, or may be queried from within R itself. Still, I find it useful to have this info as part of any desktop reference, and most books on R are similarly equipped. I found nothing lacking here.

Chapters 6-8 cover tables, mathematics, and classical tests. In the mathematics chapter, you'll be introduced to a wealth of math and probability functions, as well as the basics of matrix algebra. If your statistical training centered mainly on the basic normal, student's t, Fisher's F, poisson, and chi-square distributions, get ready for an education. The author's presentation of this material is both in-depth and well articulated.
Chapters 9-20 cover statistical modeling, regression, ANOVA, ANCOVA, GLM, count data, count data in tables, proportion data, binary response variables, GAMs, non-linear models, and mixed effects models.Chapters 21-26 address more advanced topics of tree models, time series analysis, spatial statistics, multivariate statistics, survival analysis and simulation. The author's discussion of statistical models, ANOVA, GLM, and mixed effects models (the four chapters I have dug into thus far) covers theory as well as practical application inside R. Chapters are supplemented with worked examples drawn from various R data libraries. The R code used to generate solutions is presented as well, although I found it difficult to integrate because Crawley is using the R console interactively and snippets of code are spread out over many pages. Yes, you can download a data library, type in the code presented in the book, and get the same output. The difficulty arises in making the transition from textbook example to efficient and statistically valid processing of real- world data. If you're new to object oriented programming, this book will not teach you how to program in R. Only practice and good example can do that. I still struggle with some R programming basics and this book did not help at all.

Oddly, the book ends with a final chapter 'Changing the Look of Graphics'. Seems like this should be part of chapter 5 'Graphics'; it's a mystery why this was broken out as a separate chapter and stuck at the end.

The book contains numerous typos that suggest a lack of proofreading. Also annoying is the author's predilection for cross-referencing, such that one is constantly being advised to 'refer to page ...' for more info. Furthermore, the author profanely suggests Word as a text editor (yikes!). There are excellent text editors freely available for R, but Word isn't one of them. I use TINN-R, but there are other options. Also, options for managing R output are given short shrift. I use Notepad++, a tabbed, free text editor which is similar to TINN-R, but external to R. FYI, Notepad++ will also read SAS output in its native format, so one can easily review, compare, and extract information without invoking an R or SAS session.

Be advised, this book has created some controversy within the elite, tight-knit R Core Development group. The book was reviewed in the October 2007 issue of R News, available online (thumbs down). Crawley evidently is not part of the R Core Development 'inner sanctum', so the book's rather grandiose claim as 'the first comprehensive R reference manual' has engendered some criticism from that group. Other criticism about R expressions, the author's advice regarding use of certain R functions, and use of specific R packages may be found therein. Read the review then make your own judgment. As it stands, I don't consider this book to be an authoritative reference on statistics or the R language, but it does offer an inclusive survey of both. If you already own a good statistics text, are familiar with object oriented programming, and only need a reference explaining how to get started programming in R, you'll save money by buying An Introduction to R by Venables and Smith. Amazon's wallet- friendly price: $13.57. Or you may download a free PDF version from the CRAN website.

I'll give the book four stars. It has some flaws (a second edition would be welcome), but overall constitutes a useful addition to the R literature. As for programming, I'm eagerly awaiting Braun and Murdoch's 'A First Course in Statistical Programming in R'. There are enough books on R-based statistical analysis in the vein of Crawley and others; we need a book that teaches programming and the latter should fill the gap nicely.
Was this review helpful to you?
65 of 65 people found the following review helpful
3.0 out of 5 stars Good content, disorganized presentation August 30, 2008
Format:Hardcover|Amazon Verified Purchase
Given the length of this book, and the list of contents covered, I had the highest expectations about it.

After spending 2 intensive months reading it, I have mixed feelings. Positive points are the large number of statistical models and methods described. The R examples are useful to follow the explanations, and the writing style is comprehensive. I agree with some reviewers in that the linear models section (Chaps. 9-19) is the most useful one. The last Chapter also presents useful tricks for dealing with graphs in R.

Unfortunately, I have 2 important complaints. The first one is about the presentation of contents: simply CHAOTIC. The author systematically abuses of cross-references. You will find sentences like "here we present an example of [method XX] that will be introduced on page XXX" throughout the entire book. This is disappointing, since it forces the reader to constantly move back and forth, looking for the relevant info. There is no point in presenting an example based on a method that you haven't introduced yet. Examples should be autonomous, and not frequently taken from previous data sets "already used in page YYY".

The second complaint derives from the previous one. The book is hard to use as both a reference manual and a companion for undergraduate or graduate students. Disregarding the comments from the author, if you don't have a solid theoretical background in statistical inference, regression analysis and linear models, you won't get very much benefit of this book. The author completely lacks of a rigorous, structured method for presenting new concepts. Even worse, important definitions and concepts are usually hidden in between of examples that has nothing to do with them.

In summary, if you already have a good theoretical background in statistics, this could be a useful add-on to your bookshelf (though be ready to spend a lot of side tags to map important concepts for later).

If you're looking for a introductory book with R, Springer has just published a second, expanded edition of the classic book by Dalgaard. If you're looking for a definitive reference manual of statistical methods illustrated with R, you will have to wait for something else, or look for specific titles (Like Faraway's "Linear Models with R"). For Ph.D. students looking for a comprehensive an up-to-date book on statistics with R, to improve their skills quickly, I still recommend the second edition of "Data Analysis and Graphics Using R", by Maindonald and Brown.
Was this review helpful to you?
29 of 29 people found the following review helpful
2.0 out of 5 stars Look elsewhere; Not worth the high price. April 16, 2010
Format:Hardcover|Amazon Verified Purchase
I have been using R for about 5 years and for the last 2 years have I been using it regularly. This book might have helped at the early stages of learning R, but at the moment I have learned not to trust this text. I am now seeing questions on the r-help mailing list related to the disorganization that others have commented upon.

The problems start early. For Windows users he uses doubled backslashes without explaining why these are needed or the alternative. He gets the distinction between the two indexing operators wrong when he states that one does not use "[" with lists (and fails to note that dataframes are in point of fact lists.). After starting with the R concept of vectors, the author introduces functions which have list arguments before even describing either lists or the list() function. I could go on and on. Going much further on to the section on count data he compares a dataset to the theoretic Poisson distribution noting that the counts at the low and the high ranges are larger than expected, calling this "highly aggregated", whereas most statisticians would call this over-dispersed. In the next paragraph he makes the opposite statement but then says that the overly dispersed data "shows randomness". I was further bother by his frequent use of the dangerous practice of using attach and the confusing practice of naming objects using names that were also function names such as "exp" and "data". I get the sense that the R News reviewer gave up noting errors and decided instead to move quickly on to recommending "Modern Applied Statistics" by Venables and Ripley. I would also suggest Harrell's "Regression Modeling Strategies".

People sometimes complain that the R documentation in the help pages is difficult, but in my experience the R help pages are far more precise than Crawley's versions of R. I would avoid this book due to a) its disorganization, b) its misleading advice regarding R syntax, and c) its statistical errors. It probably has some value for its large number of worked examples but there are much better books available.
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Book is fine, but within days will be superseded by a more current...
The new edition is coming out, so don't buy this old version. R has been updated some, and the interface the book describes does not quite match the interface of the software you... Read more
Published 4 months ago by D. Haft
2.0 out of 5 stars R book it's ok
This is a good book, but I did not find aplication in ecology and nothing about vegan package. Besides, the part about multivariance analysis there is not NMDS or DCA. Read more
Published 7 months ago by Pedro
4.0 out of 5 stars Excellent reference & learning tool
Don't let the naysayers sway you. As a research psychologist & statistician, I have been an ardent advocate & user of R for years. Read more
Published 14 months ago by Kenneth E. Fletcher
5.0 out of 5 stars Essential to Learning R
I cannot begin to express how thankfully I am that I decided to purchase "The R Book". As a current graduate student, I recently had to take an Environmental Statistics course that... Read more
Published 14 months ago by marineres
5.0 out of 5 stars A solid, general-purpose reference
What you get out of this book really depends on what you're looking for. This book mixes practical R programming with enough statistical theory to have some idea of what it is you... Read more
Published 15 months ago by Zach
5.0 out of 5 stars Best R reference available.
If you program in R at all you should get a copy of this. Even if you are accomplished this book is full of useful snippets and is a great quick reference for that command you... Read more
Published 16 months ago by Wolfgang
2.0 out of 5 stars really wanted it to be better than it is
I've delayed writing a review for this book because my first impression was strongly negative. Unfortunately, a month or so with the book hasn't changed my impression. Read more
Published 18 months ago by T. Butler
5.0 out of 5 stars The R Book
The sellers of the book great. The book came in new which is what they had said. I would strongly recommend this sellers.
Published 19 months ago by Rongo
5.0 out of 5 stars An Excellent Book on R!
There are several books on R. I have bought most of them.

R is a free software program that was originally intended for statistical computations. Read more
Published 20 months ago by N. Vadulam
5.0 out of 5 stars Excellent in depth overview of the R language for statistical analysis...
The book is clearly intended for advanced students in statistics with a good knowledge of calculus, statistical distributions and linear and non linear models. Read more
Published 21 months ago by Julio Cesar Cerono
Search Customer Reviews
Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...



Look for Similar Items by Category