Easy R (eBook)

Access, Prepare, Visualize, Explore Data, and Write Papers
eBook Download: PDF
2020
192 Seiten
Sage Publications (Verlag)
978-1-5443-7943-2 (ISBN)

Lese- und Medienproben

Easy R - Elizabeth A. A. Gohmert, Quan L. L. Li, Douglas R. R. Wise, Inc. SAGE Publications
Systemvoraussetzungen
38,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Do you want to learn R? This book is built on the premise that anyone with a bit of free time and a healthy curiosity can learn to use R in their studies or at work. The authors focus on using R to do useful things like writing reports, creating data and graphs, accessing datasets collected by others, preparing data, and conducting simple data analysis. In this book you'll learn how to: install R and RStudio(R), and set up an RStudio(R) project and folders; write an essay with graphs based on simple real-world data using R Markdown; create variables from everyday numeric information and visualize data through -five types of charts-bar plot, histogram, pie chart, scatter plot, and time series line plot-to identify patterns in the data; write and run R programs, and prepare your data following the tidyverse approach; import external datasets into R, install R data packages, and carry out initial data validity checks; conduct exploratory data analysis through three exercises involving data on voting outcomes, natural resource consumption, and gross domestic product (GDP) via data visualization, correlation coeffi-cient, and simple regression; and write a research paper on the impact of GDP per capita on life expectancy using R Markdown. Student-friendly language and examples (such as binge-watched shows on Netflix, and the top 5 songs on Spotify), cumulative learning, and practice exercises make this a must-have guide for a variety of courses where data are used and reports need to be written. Code and datasets used to carry out the examples in the book are available on an accompanying website.

Preface
Why 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?
Acknowledgments
About the Authors
CHAPTER 1 • Making Preparations: Software Installation and Project Setup
1.1 Introduction
1.2 How to Download and Install R for Windows
1.3 How to Download and Install R for Mac
1.4 Downloading and Installing RStudio
1.5 Setting Up a Project in RStudio
1.6 Creating Folders Under a Project
1.7 Summary
1.8 References
CHAPTER 2 • Writing Your Essay Using R Markdown: Something for Everyone
2.1 Introduction
2.2 The Pros of Using R Markdown
2.3 How to Create an R Markdown File
2.4 How to Write and Format Text in R Markdown
2.5 A Simple Example of an R Markdown Document
2.6 Other Useful Formatting Tricks
2.7 How to Use R Markdown for a Writing Assignment: A Bare-Bones Example
2.8 How to Revise and Improve Your Bare-Bones Essay
2.9 For More Ambitious Readers
2.10 Exercise: Turning Knowledge Into Results
2.11 Summary
2.12 References
CHAPTER 3 • Creating Data and Graphs in Your Essays
3.1 Introduction
3.2 Bar Plot I: Graphing the Winners of a Hot Dog Eating Contest
3.3 Bar Plot II: Graphing Winning Lottery Numbers in Texas Pick-3
3.4 Pie Chart: Graphing the Composition of Daily Plays Among Top 5 Songs on Spotify
3.5 Histogram: Graphing the Distribution of LSAT Scores in a Review Class
3.6 Scatter Plot: Graphing the Relationship Between Two Variables— Gas Mileages in the City and on the Highway
3.7 Time Series Plot: Graphing the Changing Pattern of YouTube Video Views
3.8 Useful Tips: Polishing and Exporting Graphs
3.9 Summary
3.10 References
CHAPTER 4 • Preparing Your Data
4.1 Introduction
4.2 Writing and Running a Program in R
4.3 Creating Variables and Forming a Dataset
4.4 Manipulating Data Using the dplyr Package
4.5 Chaining Different Data Manipulation Operations: pipe (%>%)
4.6 Missing Values in R: NA
4.7 Summary
4.8 References
CHAPTER 5 • Accessing Datasets
5.1 Introduction
5.2 Setting Up an RStudio Project
5.3 Downloading a Dataset
5.4 Installing R Packages for Data Importing
5.5 Importing a Downloaded Dataset in RStudio
5.6 Using R Data Packages: A Simple Example With gapminder
5.7 Using R Data Packages: A More Advanced Example With wbstats
5.8 Using R Data Packages: Finding More R Data Packages
5.9 Where Can You Find More Data?
5.10 Summary
5.11 References
CHAPTER 6 • Exploratory Data Analysis: Three Exercises
6.1 Introduction
6.2 Exercise 1: Reporting Results of the 2016 Presidential Primary in King County, Washington
6.3 Exercise 2: Human Use of Natural Resources: Consumption and Biocapacity
6.4 Exercise 3: Exploring the Impact of GDP per Capita on Life Expectancy
6.5 Summary
6.6 References
CHAPTER 7 • Writing Your Research Paper Using R: Analyzing the Effect of Economic Development on Life Expectancy

Erscheint lt. Verlag 21.1.2020
Verlagsort Thousand Oaks
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Office Programme
Naturwissenschaften
Sozialwissenschaften Politik / Verwaltung Europäische / Internationale Politik
Sozialwissenschaften Soziologie Empirische Sozialforschung
Schlagworte Easy R: Access, Prepare, Visualize, Explore Data, and Write Papers • Elizabeth Gohmert • Gohmert • Research methods • R Markdown • R software • RStudio • Statistics
ISBN-10 1-5443-7943-9 / 1544379439
ISBN-13 978-1-5443-7943-2 / 9781544379432
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Stephan Nelles

eBook Download (2022)
Rheinwerk Computing (Verlag)
27,93
Die Anleitung in Bildern

von Otmar Witzgall

eBook Download (2023)
Vierfarben (Verlag)
11,83
Das neue Handbuch für authentische Präsentationen

von Sara-Isabell Buch

eBook Download (2023)
Rheinwerk Computing (Verlag)
24,43