R for Data Analysis in Easy Steps, Second Edition
- 2h 14m
- Mike McGrath
- In Easy Steps Limited
- 2023
The R language is widely used by statisticians for data analysis, and the popularity of R programming has therefore increased substantially in recent years. The emerging Internet of Things (IoT) gathers increasing amounts of data that can be analyzed to gain useful insights into trends.
R for Data Analysis in easy steps, 2nd edition has an easy-to-follow style that will appeal to anyone who wants to produce graphic visualizations to gain insights from gathered data. The book begins by explaining core programming principles of the R programming language, which stores data in “vectors” from which simple graphs can be plotted. Next, it describes how to create “matrices” to store and manipulate data from which graphs can be plotted to provide better insights. This book then demonstrates how to create “data frames” from imported data sets, and how to employ the “Grammar of Graphics” to produce advanced visualizations that can best illustrate useful insights from your data.
R for Data Analysis in easy steps, 2nd edition contains separate chapters on the major features of the R programming language. There are complete example programs that demonstrate how to create Line graphs, Bar charts, Histograms, Scatter graphs, Box plots, and more. The code for each R script is listed, together with screenshots that illustrate the actual output when that script has been executed. The free, downloadable example R code is provided for clearer understanding. By the end of this book you will have gained a sound understanding of R programming, and be able to write your own scripts that can be executed to produce graphic visualizations for data analysis. You need have no previous knowledge of any programming language, so it's ideal for the newcomer to computer programming.
Updated for the latest version of R.
About the Author
Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.
In this Book
-
How to Use This Book
-
Getting Started
-
Storing Values
-
Performing Operations
-
Testing Conditions
-
Employing Functions
-
Building Matrices
-
Constructing Data Frames
-
Producing Quick Plots
-
Storytelling with Data
-
Plotting Perfection