![](https://i.thenile.io/r1000/9781544379418.jpg?r=65d7d7a52f689)
Easy R
by Elizabeth A. Gohmert, Quan L. Li, Douglas R. Wise
Built on the premise that anyone can learn to use the R software, this book emphasizes using R to do useful things like writing papers and reports, creating graphs, and conducting simple data analysis.
Paperback
English
Brand New
Publisher Description
After a first chapter on installing the software and project setup, in the second chapter the authors shows how to write an essay using R Markdown, rewarding readers with an immediate tangible result, and taking the fear out of working with a new software. Student-friendly language and examples (e.g. binge-watched shows on Netflix, top 5 songs on Spotify), cumulative learning and repetition across chapters, and practice exercises make this a must-have guide for a variety of courses where data is used and reports need to be written (including, but not limited to intro statistics and research methods). Code and datasets used to carry out the examples in the book are available on an accompanying website.
Author Biography
Elizabeth Gohmert graduated from Texas A&M University in 2018 with a Bachelor of Arts in Political Scienceand a minor in Cybersecurity—a year early. She then went on to graduate school at Southern MethodistUniversity, from which she graduated with a Master of Science in Business Analytics in 2019. While shehad previously helped to edit the book, "Using R for Data Analysis in Social Sciences", this will be her firstauthored publication. Aside from her love of data science, she enjoys travelling, learning new languages,white water rafting, and the joy of finding great new rib places. She currently lives and works in Washington,D.C. as a data science consultant. Dr. Quan Li is Professor of Political Science and Cornerstone Faculty Fellow at Texas A&M University anda Fulbright U.S. Senior Scholar in Spain during the 2019-2020 academic year. His research on economicglobalization, democratic governance, political violence, and environmental degradation has appeared invarious journals in international relations, international business, political science, and public policy. Hecoauthored Democracy and Economic Openness in an Interconnected System: Complex Transformations(Cambridge University Press, 2009) and Politics and Foreign Direct Investment (University of Michigan Press,2012). He is also the author of Using R for Data Analysis in Social Sciences: A Research Project-OrientedApproach (Oxford University Press, 2018). Dr. Li has served on the editorial boards of American Journal ofPolitical Science, Journal of Politics, International Studies Quarterly, and International Interactions. Heis the co-recipient of the 2003 Best Article on Democratization Award from the American Political ScienceAssociation. Douglas Wise is a Solution Engineer at a Silicon Valley based technology company where he specializesin helping organizations transform their digital customer experiences. Douglas previously served as anintelligence analyst in the United States Air Force. Douglas was also a member of the Air Force Honor Guardand is an Afghanistan war veteran. Douglas received his Bachelor of Science in Political Science from TexasA&M University and currently resides in Santa Clara, California with his family.
Table of Contents
PrefaceWhy Should You Learn R Too?Who Should Read This Book? What Does This Book Hope to Achieve?What Is in This Book? How Can You Use It?What Is Unique About This Book?AcknowledgmentsAbout the AuthorsCHAPTER 1 • Making Preparations: Software Installation and Project Setup1.1 Introduction1.2 How to Download and Install R for Windows1.3 How to Download and Install R for Mac1.4 Downloading and Installing RStudio1.5 Setting Up a Project in RStudio1.6 Creating Folders Under a Project1.7 Summary1.8 ReferencesCHAPTER 2 • Writing Your Essay Using R Markdown: Something for Everyone2.1 Introduction2.2 The Pros of Using R Markdown2.3 How to Create an R Markdown File2.4 How to Write and Format Text in R Markdown2.5 A Simple Example of an R Markdown Document2.6 Other Useful Formatting Tricks2.7 How to Use R Markdown for a Writing Assignment: A Bare-Bones Example2.8 How to Revise and Improve Your Bare-Bones Essay2.9 For More Ambitious Readers2.10 Exercise: Turning Knowledge Into Results2.11 Summary2.12 ReferencesCHAPTER 3 • Creating Data and Graphs in Your Essays3.1 Introduction3.2 Bar Plot I: Graphing the Winners of a Hot Dog Eating Contest3.3 Bar Plot II: Graphing Winning Lottery Numbers in Texas Pick-33.4 Pie Chart: Graphing the Composition of Daily Plays Among Top 5 Songs on Spotify3.5 Histogram: Graphing the Distribution of LSAT Scores in a Review Class3.6 Scatter Plot: Graphing the Relationship Between Two Variables— Gas Mileages in the City and on the Highway3.7 Time Series Plot: Graphing the Changing Pattern of YouTube Video Views3.8 Useful Tips: Polishing and Exporting Graphs3.9 Summary3.10 ReferencesCHAPTER 4 • Preparing Your Data4.1 Introduction4.2 Writing and Running a Program in R4.3 Creating Variables and Forming a Dataset4.4 Manipulating Data Using the dplyr Package4.5 Chaining Different Data Manipulation Operations: pipe (%>%)4.6 Missing Values in R: NA4.7 Summary4.8 ReferencesCHAPTER 5 • Accessing Datasets5.1 Introduction5.2 Setting Up an RStudio Project5.3 Downloading a Dataset5.4 Installing R Packages for Data Importing5.5 Importing a Downloaded Dataset in RStudio5.6 Using R Data Packages: A Simple Example With gapminder5.7 Using R Data Packages: A More Advanced Example With wbstats5.8 Using R Data Packages: Finding More R Data Packages5.9 Where Can You Find More Data?5.10 Summary5.11 ReferencesCHAPTER 6 • Exploratory Data Analysis: Three Exercises6.1 Introduction6.2 Exercise 1: Reporting Results of the 2016 Presidential Primary in King County, Washington6.3 Exercise 2: Human Use of Natural Resources: Consumption and Biocapacity6.4 Exercise 3: Exploring the Impact of GDP per Capita on Life Expectancy6.5 Summary6.6 ReferencesCHAPTER 7 • Writing Your Research Paper Using R: Analyzing the Effect of Economic Development on Life Expectancy
Details
![](https://www.thenile.com.au/sigint.gif?ean=9781544379418&origin=the_nile_uk_store)