Data Manipulation with R (Use R) |  | Author: Phil Spector Publisher: Springer
List Price: $54.95 Buy New: $44.37 as of 11/21/2009 17:27 CST details You Save: $10.58 (19%)
New (34) Used (16) from $34.20
Seller: Amazon.com Rating: 11 reviews Sales Rank: 77678
Media: Paperback Edition: 1 Pages: 154 Number Of Items: 1 Shipping Weight (lbs): 0.4 Dimensions (in): 9.1 x 5.9 x 0.5
ISBN: 0387747303 Dewey Decimal Number: 519 EAN: 9780387747309 ASIN: 0387747303
Publication Date: March 19, 2008 Availability: Usually ships in 24 hours
| |
| Similar Items:
| |
| Editorial Reviews:
Product Description
Since its inception, R has become one of the preeminent programs for statistical computing and data analysis. The ready availability of the program, along with a wide variety of packages and the supportive R community make R an excellent choice for almost any kind of computing task related to statistics. However, many users, especially those with experience in other languages, do not take advantage of the full power of R. Because of the nature of R, solutions that make sense in other languages may not be very efficient in R. This book presents a wide array of methods applicable for reading data into R, and efficiently manipulating that data. In addition to the built-in functions, a number of readily available packages from CRAN (the Comprehensive R Archive Network) are also covered. All of the methods presented take advantage of the core features of R: vectorization, efficient use of subscripting, and the proper use of the varied functions in R that are provided for common data management tasks. Most experienced R users discover that, especially when working with large data sets, it may be helpful to use other programs, notably databases, in conjunction with R. Accordingly, the use of databases in R is covered in detail, along with methods for extracting data from spreadsheets and datasets created by other programs. Character manipulation, while sometimes overlooked within R, is also covered in detail, allowing problems that are traditionally solved by scripting languages to be carried out entirely within R. For users with experience in other languages, guidelines for the effective use of programming constructs like loops are provided. Since many statistical modeling and graphics functions need their data presented in a data frame, techniques for converting the output of commonly used functions to data frames are provided throughout the book. Using a variety of examples based on data sets included with R, along with easily simulated data sets, the book is recommended to anyone using R who wishes to advance from simple examples to practical real-life data manipulation solutions.
|
| Customer Reviews:
Showing reviews 1-5 of 11
Useful code but disorganized September 6, 2009 Formicarius (NE Pennsylvania) 1 out of 1 found this review helpful
I am neither a statistician nor a computer programmer yet I used statistics and programming on a daily basis and that is my perspective on this book. I am an ecologist with messy data with relational databases, missing data, dates etc. Most statisticians will already have more than a dollop of programming under their belts and will have a completely different experience with this book. I found the book disorganized with sections that should occur together in different sections or in the wrong order of how a user would approach a problem. For example, Chapter 3 goes over SQL coding but I wasn't sure what package we were supposed to be using or if this coding was used for all of them and, if so, what are the caveats to each. It would have been incredibly useful to discuss these three packages with strengths, weaknesses, and examples of each. It's great that there's code to use MySQL but it would have been useful to provide some information on the MySQL side so one could get going on queries without referring to yet another manual. Much of this information was redundant with other manuals that one should already have such as Introductory Statistics with R (Statistics and Computing), Modern Applied Statistics with S, and The R Book.
Data manipulation with R August 18, 2009 H. Lux (Petersham, MA) 0 out of 1 found this review helpful
This book was just what I needed- now I just need to spend the time with it!
Not so useful book. June 4, 2009 N. Vadulam 1 out of 9 found this review helpful
I am sorry to say that this book is not so useful.
You cannot find the answer to a simple question such as "To read into "R" a spreadsheet created in the Openoffice "Calc" spreadsheet a single numeric column consisting of 40 rows."
First, you have to create the file "Test.csv" in the same directory in which you are running R, consisting of a single column with 40 rows of numeric data.
Try this:
x=read.table("Test.csv",header=F, sep=",", nrows=40)
x
attach(x)
y= x[1:40,1]
y
sd(y)
mean(y)
sum(y)
zz= sum(y)/40
zz
I had to to do this by trial and error.
The price of this book is too high compared to its contents.
Yes, I bought this book.
Great use of your money. May 21, 2009 Loren Collingwood (Seattle, WA) 2 out of 2 found this review helpful
This is a great book for new users to R, especially those who are used to Stata and other programs. Recoding, and working with data in different formats, in particular, can be challenges for new users, this book discusses these options in depth. I had been searching for a good data manipulation book on R for a while, since I was tired of having to go to websites constantly; this book serves that purpose.
A Wonderful Reference April 20, 2009 Robert A. Muenchen (Knoxville, TN USA) 2 out of 2 found this review helpful
Whenever R is doing something I don't expect when managing data, this is the first book I turn to. Every page is filled with deep insights into how R works. It could go into some topics in more depth, but you could spend hours in R's help files and with trial and error to discover what this book provides in clear, concise form. I highly recommend it.
Showing reviews 1-5 of 11
|
|
|
|