Math.com Store
 Location:  Home » Math Books » The R Book  

The R Book

The R BookAuthor: Michael J. Crawley
Publisher: Wiley

List Price: $110.00
Buy New: $73.04
as of 11/21/2009 16:01 CST details
You Save: $36.96 (34%)



New (31) Used (14) from $73.04

Seller: sbd-
Rating: 4.0 out of 5 stars 20 reviews
Sales Rank: 12485

Media: Hardcover
Edition: 1
Pages: 950
Number Of Items: 1
Shipping Weight (lbs): 3.8
Dimensions (in): 9.8 x 6.8 x 2.2

ISBN: 0470510242
Dewey Decimal Number: 519.502855133
EAN: 9780470510247
ASIN: 0470510242

Publication Date: June 15, 2007
Availability: Usually ships in 1-2 business days

Also Available In:

  • Kindle Edition - The R Book

Similar Items:


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  



Customer Reviews:
Showing reviews 1-5 of 20



5 out of 5 stars All about R   October 27, 2009
Frederick S. Dobson (Auburn, AL USA)
0 out of 1 found this review helpful

What needs to be said? If you want to use R, this is it!!!


4 out of 5 stars Good reference   August 9, 2009
Jason A. Teeple (New Jersey, USA)
I've only started using the book. So far it has been good, although I wish he included R examples for each concept he talks about. Sometimes it is more statistic lesson than R lesson, which isn't what I was looking for.


2 out of 5 stars Poor in most respects   July 27, 2009
Jasper L. Mcchesney (USA)
Flatly, this tome is poorly written, poorly organized, and has clumsy, sometimes erroneous coding examples. It attempts to cover a wide array of applications, but I cannot guess the intended audience. I can imagine many people who could use a book on R, but "The R Book" would fail all of them:

1. Scientists who want to do some statistics and need an introduction to programming. The examples are too opaque, and the writing too dense (beyond simply being bad) for this. It is not at all a statistics book, either, so is unhelpful for learning that. Colleagues of mine who attempted to learn programming using this book were all very frustrated and quickly stopped consulting it.

2. Statisticians who need an introduction to programming. The book does assume some knowledge of stats, but deals with fairly unsophisticated problems, and again, is just not written for beginner programmers.

3. Competent or semi-competent programmers who are learning R. This is the group I fell into, and the book offers nothing the internet doesn't. It doesn't go into any depth on the structure of the R language and its coding examples are awful: They're poorly formatted (a non-monospace font with inadequate spacing) and sloppy (several examples introduced variables that were never used). Once I realized the apparent inaptness of the authors in programming, I ceased to trust them on anything.



5 out of 5 stars The R Book   May 17, 2009
Mr. Bradley J. Walmsley
0 out of 2 found this review helpful

The best statistical book I've found
Recommend for anyone looking to learn statistics and R



4 out of 5 stars Perfect quality, took a few days to ship   April 8, 2009
K. Lynn (Chapleau, ON Canada)
0 out of 6 found this review helpful

The book was in great condition (perfect, in fact.. still in the plastic) but I wasn't too happy that it took the sellers about 4 days to ship the book and I needed it right away for a class, especially since it was being shipped from the UK to the US and would take longer than normal as it was (however, it took only about a week after they shipped it since they sent it by airmail). I would recommend this seller since the quality was so high. Just be aware that it may take them a while to ship because this company probably gets quite a few orders.

Showing reviews 1-5 of 20





Disclaimer

Return to Math.com
Sponsored Links
Math Jobs


Quick Links
Return to Math.com
Math Tutoring
Top Selling Electronics
Textbooks
Math Jobs
Privacy
Categories
Calculators
Math Books
Math DVD
Math Games
Math Toys
Math Software
Game Systems
Math Apparel
Related Categories
• General AAS
Computer Science
New & Used Textbooks
Custom Stores
Specialty Stores
• Statistics
Mathematics
Science & Mathematics
New & Used Textbooks
Custom Stores
• General AAS
Mathematics
Science & Mathematics
New & Used Textbooks
Custom Stores
• General AAS
Science & Mathematics
New & Used Textbooks
Custom Stores
Specialty Stores
• General AAS
New & Used Textbooks
Custom Stores
Specialty Stores
Books
• Textbooks Trade-In
Specialty Stores
Books
• General
Computers & Internet
Subjects
Books
• Statistics
Applied
Mathematics
Professional Science
Professional & Technical
• Probability & Statistics
Applied
Mathematics
Science
Subjects
• General
Mathematics
Science
Subjects
Books
• Hardcover
Binding (binding)
Refinements
Books
• Printed Books
Format (feature_browse-bin)
Refinements
Books