Graphing Data with R. An Introduction - Helion
ISBN: 978-14-919-2256-9
stron: 336, Format: ebook
Data wydania: 2015-10-19
Księgarnia: Helion
Cena książki: 126,65 zł (poprzednio: 147,27 zł)
Oszczędzasz: 14% (-20,62 zł)
It’s much easier to grasp complex data relationships with a graph than by scanning numbers in a spreadsheet. This introductory guide shows you how to use the R language to create a variety of useful graphs for visualizing and analyzing complex data for science, business, media, and many other fields. You’ll learn methods for highlighting important relationships and trends, reducing data to simpler forms, and emphasizing key numbers at a glance.
Anyone who wants to analyze data will find something useful here—even if you don’t have a background in mathematics, statistics, or computer programming. If you want to examine data related to your work, this book is the ideal way to start.
- Get started with R by learning basic commands
- Build single variable graphs, such as dot and pie charts, box plots, and histograms
- Explore the relationship between two quantitative variables with scatter plots, high-density plots, and other techniques
- Use scatterplot matrices, 3D plots, clustering, heat maps, and other graphs to visualize relationships among three or more variables
Osoby które kupowały "Graphing Data with R. An Introduction", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Graphing Data with R. An Introduction eBook -- spis treści
- Preface
- Who Is This Book For?
- Why R?
- How to Use This Book
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- Who Is This Book For?
- I. Getting Started with R
- 1. R Basics
- Downloading the Software
- Try Some Simple Tasks
- User Interface
- Installing a Package: A GUI Interface
- Data Structures
- Sample Datasets
- The Working Directory
- Putting Data into R
- Typing into a Command Line
- Exercise 1-1.
- Using the Data Editor
- Exercise 1-2
- Reading from an External File
- Exercise 1-3
- Nimrod codebook
- Typing into a Command Line
- Sourcing a Script
- User-Written Functions
- A Taste of Things to Come
- Exercise 1-4
- Method 1: spreadsheet
- Method 2: text
- 2. An Overview of R Graphics
- Exporting a Graph
- Exploratory Graphs and Presentation Graphs
- Graphics Systems in R
- Base Graphics and grid
- lattice
- ggplot2
- Special Applications/Graphs Incorporated into Packages
- User-Written Graphic Functions
- II. Single-Variable Graphs
- 3. Strip Charts
- A Simple Graph
- Data Can Be Beautiful
- Exercise 3-1
- Exercise 3-2
- 4. Dot Charts
- Basic Dot Chart
- Exercise 4-1
- Exercise 4-2
- 5. Box Plots
- The Box Plot
- Nimrod Again
- Making the Data Beautiful
- Exercise 5-1
- Exercise 5-2
- 6. Stem-and-Leaf Plots
- Basic Stem-and-Leaf Plot
- Exercise 6-1
- Exercise 6-2
- 7. Histograms
- Simple Histograms
- Histograms with a Second Variable
- Exercise 7-1
- Exercise 7-2
- 8. Kernel Density Plots
- Density Estimation
- Choosing a Bandwidth
- Comparing Two or More Density Plots
- A Background That Is Not White
- The Cumulative Distribution Function
- Exercise 8-1
- Exercise 8-2
- Density Estimation
- 9. Bar Plots (Bar Charts)
- Basic Bar Plot
- Spine Plot
- Bar Spacing and Orientation
- Exercise 9-1
- Exercise 9-2
- 10. Pie Charts
- Ordinary Pie Chart
- Fan Plot
- Exercise 10-1
- Exercise 10-2
- 11. Rug Plots
- The Rug Plot
- Exercise 11-1
- III. Two-Variable Graphs
- 12. Scatter Plots and Line Charts
- Basic Scatter Plots
- Line Charts
- Templates
- Enhanced Scatter Plots
- Exercise 12-1
- Exercise 12-2
- 13. High-Density Plots
- Working with Large Datasets
- Sunflower Plot
- Smooth Scatter Plot
- Hexbin Plot
- Exercise 13-1
- Working with Large Datasets
- 14. The Bland-Altman Plot
- Assessing Measurement Reliability
- Exercise 14-1
- A Shorter Version of baplot()
- Assessing Measurement Reliability
- 15. QQ Plots
- Comparing Sets of Numbers
- Exercise 15-1
- Exercise 15-2
- Comparing Sets of Numbers
- IV. Multivariable Graphs
- 16. Scatter plot Matrices and Corrgrams
- Scatter plot Matrix
- Corrgram
- Generalized Pairs Matrix with Mixed Quantitative and Categorical Variables
- Exercise 16-1
- 17. Three-Dimensional Plots
- 3D Scatter plots
- False Color Plots
- Bubble Plots
- Exercise 17-1
- Exercise 17-2
- 18. Coplots (Conditioning Plots)
- The Coplot
- Exercise 18-1
- 19. Clustering: Dendrograms and Heat Maps
- Clustering
- Heat Maps
- Exercise 19-1
- Exercise 19-2
- Exercise 19-3
- 20. Mosaic Plots
- Graphing Categorical Data
- Exercise 20-1
- Graphing Categorical Data
- V. What Now?
- 21. Resources for Extending Your Knowledge of Things Graphical and R Fluency
- R Graphics
- General Principles of Graphics
- Learning More About R
- Statistics with R
- Exercise 21-1
- A. References
- B. R Colors
- C. The R Commander Graphical User Interface
- D. Packages Used/Referenced
- E. Importing Data from Outside of R
- Some Useful Internet Data Repositories
- Importing Data of Various Types into R
- CSV
- Statistical Packages (SPSS, SAS, Etc.)
- ASCII
- XML
- netCDF
- Web Scraping
- F. Solutions to Chapter Exercises
- Exercises 1-1 Through 1-4
- Exercise 3-1
- Exercise 3-2
- Exercise 4-1
- Exercise 4-2
- Exercise 5-1
- Exercise 5-2
- Exercise 6-1
- Exercise 6-2
- Exercise 7-1
- Exercise 8-1
- Exercise 8-2
- Exercise 9-1
- Exercise 9-2
- Exercise 10-1
- Exercise 10-2
- Exercise 11-1
- Exercise 12-1
- Exercise 12-2
- Exercise 13-1
- Exercise 14-1
- Exercise 15-1
- Exercise 15-2
- Exercise 16-1
- Exercise 17-1
- Exercise 17-2
- Exercise 18-1
- Exercise 19-1
- Exercise 19-2
- Exercise 19-3
- Exercise 20-1
- Exercise 21-1
- G. Troubleshooting: Why Doesnt My Code Work?
- Misspelling
- Confusing Uppercase/Lowercase
- Too Few (or Too Many) Parenthesis Signs
- Forgetting to Load a Package
- Forgetting to Install a Package
- A Dataset in a Loaded Package Is Not Found
- Leaving Out a Comma
- Copy-and-Paste Error
- Directory ProblemsCannot Load a Saved File
- Missing File Extension
- Do Not Assume That All Packages Use the Same Argument Abbreviations
- Outdated Packages/Package Incompatibility
- H. R Functions Introduced in This Book
- Data Input/Output
- Datasets
- Graphical Functions 1Creates Graph
- Graphical Functions 2Adds Features to Existing Graph
- Miscellaneous
- Packages
- Statistics
- User-Defined Functions and Scripts
- Workspace and Directories
- Index