
R Programming Fundamentals
Deal with data using various modeling techniques
- 206 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Study data analysis and visualization to successfully analyze data with R
Key Features
- Get to grips with data cleaning methods
- Explore statistical concepts and programming in R, including best practices
- Build a data science project with real-world examples
Book Description
R Programming Fundamentals, focused on R and the R ecosystem, introduces you to the tools for working with data. To start with, you'll understand you how to set up R and RStudio, followed by exploring R packages, functions, data structures, control flow, and loops.
Once you have grasped the basics, you'll move on to studying data visualization and graphics. You'll learn how to build statistical and advanced plots using the powerful ggplot2 library. In addition to this, you'll discover data management concepts such as factoring, pivoting, aggregating, merging, and dealing with missing values.
By the end of this book, you'll have completed an entire data science project of your own for your portfolio or blog.
What you will learn
- Use basic programming concepts of R such as loading packages, arithmetic functions, data structures, and flow control
- Import data to R from various formats such as CSV, Excel, and SQL
- Clean data by handling missing values and standardizing fields
- Perform univariate and bivariate analysis using ggplot2
- Create statistical summary and advanced plots such as histograms, scatter plots, box plots, and interaction plots
- Apply data management techniques, such as factoring, pivoting, aggregating, merging, and dealing with missing values, on the example datasets
Who this book is for
R Programming Fundamentals is for you if you are an analyst who wants to grow in the field of data science and explore the latest tools.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Data Visualization and Graphics
- Use Base R for plotting, and identify when to do so
- Create a variety of different data visualizations using the ggplot2 package
- Explain different tools for interactive plotting in R
Creating Base Plots
The plot() Function

- ?plot
- help("plot")
- help(plot)


Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Introduction to R
- Data Visualization and Graphics
- Data Management
- Solutions
- Other Books You May Enjoy