Data Manipulation with R / Edition 1

Paperback (Print)
Rent from
(Save 67%)
Est. Return Date: 06/25/2015
Buy New
Buy New from
Used and New from Other Sellers
Used and New from Other Sellers
from $44.91
Usually ships in 1-2 business days
(Save 43%)
Other sellers (Paperback)
  • All (18) from $44.91   
  • New (10) from $48.84   
  • Used (8) from $44.89   


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 simulat

Read More Show Less

Editorial Reviews

From the Publisher
From the reviews:
"This comprehensive, compact and concise book provides all R users with a reference and guide to the mundane but terribly important topic of data manipulation in R. … This is a book that should be read and kept close at hand by everyone who uses R regularly."(Douglas M. Bates, International Statistical Reviews, Vol. 76 (2), 2008)
"Presents a wide array of methods applicable for reading statistical data into the R program and efficiently manipulating that data." (Journal of Economic Literature, Vol. 46, no. 3, September 2008)
"R is a programming language particularly suitable for statistical computing and data analysis. … Using a variety of examples based on data sets included with R, along with easily stimulated data sets, the book is recommended to anyone using R who wishes to advance from simple examples to practical real-life data manipulation solutions." (Christina Diakaki, Zentralblatt MATH, Vol. 1154, 2009)
"The book contains much good information regarding the unique way in which R manipulates data objects. lt provides a complement to the many books illustrating statistical applications of R. It is clear that the author is very familiar with R. and the explanations and illustrations are generally helpful. Personally, I found the chapters on reading and writing data and on data aggregation most helpful, because these topics are essential in exploring data." (Jim Albert, The American Statistician, May 2009, Vol. 63, no. 2)
“Readers of this book will receive a focused treatment of data manipulation … . This book has lots of examples which are helpful. … provides more depth to understand the data structure/objects within R and how to better take advantage of this structure. … I found this book very helpful to my understanding of the structure and will be using it as a reference tool in my work.” (Roger M. Sauter, Technometrics, Vol. 52 (3), August, 2010)
Read More Show Less

Product Details

  • ISBN-13: 9780387747309
  • Publisher: Springer New York
  • Publication date: 3/1/2008
  • Series: Use R! Series
  • Edition description: 2008
  • Edition number: 1
  • Pages: 154
  • Sales rank: 930,423
  • Product dimensions: 0.35 (w) x 9.21 (h) x 6.14 (d)

Table of Contents

Data in R.- Reading and writing data.- R and databases.- Dates.- Factors.- Subscripting.- Character manipulation.- Data aggregation.- Reshaping data.- Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)