Jump to ContentJump to Main Navigation
Getting Started with RAn Introduction for Biologists$
Users without a subscription are not able to see the full content.

Andrew Beckerman, Dylan Childs, and Owen Petchey

Print publication date: 2017

Print ISBN-13: 9780198787839

Published to Oxford Scholarship Online: March 2017

DOI: 10.1093/acprof:oso/9780198787839.001.0001

Show Summary Details
Page of

PRINTED FROM OXFORD SCHOLARSHIP ONLINE (www.oxfordscholarship.com). (c) Copyright Oxford University Press, 2018. All Rights Reserved. Under the terms of the licence agreement, an individual user may print out a PDF of a single chapter of a monograph in OSO for personal use (for details see http://www.oxfordscholarship.com/page/privacy-policy).date: 25 June 2018

Data Management, Manipulation, and Exploration with dplyr

Data Management, Manipulation, and Exploration with dplyr

(p.57) 3 Data Management, Manipulation, and Exploration with dplyr
Getting Started with R

Andrew P. Beckerman

Dylan Z. Childs

Owen L. Petchey

Oxford University Press

Once your data are in R, you may need to manipulate them. We show you how to refer to columns/variables of your data, how to extract particular subsets of rows, how to make new variables, and how to sort your data. All these are done with functions from the dplyr add-on package, such as select, slice, filter, mutate, transform, arrange, and sort. You then learn how to calculate summary statistics of groups of your data, including the mean and standard deviation. We demonstrate two ways of giving dplyr instructions too, introducing ‘piped’ vs ‘nested’ instructions. Finally, we provide a comparison of between classic ‘base R’ methods and the modern dplyr methods, which is vital for collaboration.

Keywords:   R, dplyr, summary, select, slice, filter, mutate, transform, arrange, sort

Oxford Scholarship Online requires a subscription or purchase to access the full text of books within the service. Public users can however freely search the site and view the abstracts and keywords for each book and chapter.

Please, subscribe or login to access full text content.

If you think you should have access to this title, please contact your librarian.

To troubleshoot, please check our FAQs , and if you can't find the answer there, please contact us .