Introduction to R Programming

Video description

Practice and apply R programming concepts for effective statistical and data analysis

About This Video

  • Learn the fundamentals of R programming to help lay solid foundations for future, statistic-heavy applications

  • Easily grasp the basic concepts, tools, and functions that you will need for data munging and to perform full-scale data analysis projects with R

  • Filled with numerous coding challenges and projects to get you writing R code the right way

  • In Detail

    Data is everywhere, and statisticians and analysts everywhere need to handle this data efficiently and tactfully. In comes R, a powerful programming language, arming developers with the tools to cater to their needs. This course will give you everything you need to start making software that can unlock your statistics and data.

    The course is broken down into three parts. The first part will introduce R Studio and the basics of R—using packages and teaching you programming concepts such as variables, vectors, arrays, loops, and matrices. By solving coding challenges, you will gain a strong foundation for data munging.

    With the basics mastered, we will take you through a number of topics such as handling dates with the lubridate package, handling strings with the stringr package, writing functions, debugging, error handling, and writing an apply family of functions. When you’ve mastered data munging, we’ll focus on visualizing data using base graphics.

    Naturally, the next step is to learn how to make statistical inferences. We walk you through the fundamentals of univariate and bivariate analysis, computing confidence intervals, interpreting p values, and working with statistical significance. You’ll see how and when to use some of the commonly used statistical tests. With that, you will be ready for your first full-scale data analysis project to test the skills you’ve learned.

    Finally, you will glimpse two powerful packages for data munging, the dplyr and data.table, which have both seen a rise in the R community. It is imperative to learn about both of these packages because much modern R code has been written using them.

    With the help of interesting examples and coding challenges, this course will ensure that you have all the hacks and tricks you need to get started with R.

    Table of contents

    1. Chapter 1 : Installation and Setup
      1. The Course Overview 00:04:54
      2. Installing R 00:03:46
      3. Installing RStudio 00:04:36
      4. Installing Packages 00:04:50
    2. Chapter 2 : Working with Vectors
      1. Data Types and Data Structures 00:03:05
      2. Vectors 00:05:44
      3. Random Numbers, Rounding, and Binning 00:04:00
      4. Missing Values 00:02:47
      5. The which() Operator 00:03:11
    3. Chapter 3 : R Essentials
      1. Lists 00:04:35
      2. Set Operations 00:02:09
      3. Sampling and Sorting 00:02:52
      4. Check Conditions 00:02:17
      5. For Loops 00:02:34
    4. Chapter 4 : Dataframes and Matrices
      1. Dataframes 00:08:30
      2. Importing and Exporting Data 00:06:30
      3. Matrices and Frequency Tables 00:03:41
      4. Merging Dataframes 00:02:26
      5. Aggregation 00:02:48
      6. Melting and Cross Tabulations with dcast() 00:03:58
    5. Chapter 5 : Core Programming
      1. Dates 00:05:35
      2. String Manipulation 00:05:14
      3. Functions 00:05:34
      4. Debugging and Error Handling 00:04:30
      5. Fast Loops with apply() 00:04:27
      6. Fast Loops with sapply(), lapply() and vapply() 00:02:00
    6. Chapter 6 : Making Plots with Base Graphics
      1. Creating and Customizing an R Plot 00:07:03
      2. Drawing Plots with 2 Y Axes 00:02:23
      3. Multiplots and Custom Layouts 00:03:08
      4. Creating Basic Graph Types 00:04:47
    7. Chapter 7 : Statistical Inference
      1. Univariate Analysis 00:06:16
      2. Normal Distribution, Central Limit Theorem, and Confidence Intervals 00:05:32
      3. Correlation and Covariance 00:03:03
      4. Chi-sq Statistic 00:04:42
      5. ANOVA 00:04:54
      6. Statistical Tests 00:05:14
    8. Chapter 8 : R Very Own Project
      1. Project 1 – Data Munging and Summarizing 00:11:31
      2. Project 2 – Visualization with Base Graphics 00:05:42
      3. Project 3 – Statistical Inference 00:03:50
    9. Chapter 9 : DPlyR and Pipes
      1. Pipes with Magrittr 00:05:21
      2. The 7 Data Manipulation Verbs 00:05:19
      3. Aggregation and Special Functions 00:03:36
      4. Two Table Verbs 00:02:43
      5. Working With Databases 00:05:30
    10. Chapter 10 : data.table
      1. Understanding Basics, Filter, and Select 00:07:34
      2. Understanding Syntax, Creating and Updating Columns 00:04:06
      3. Aggregating Data, .N, and .I 00:04:21
      4. data.table 00:04:17
      5. Fast Loops with set(), Keys, and Joins 00:09:13

    Product information

    • Title: Introduction to R Programming
    • Author(s): Selva Prabhakaran
    • Release date: July 2016
    • Publisher(s): Packt Publishing
    • ISBN: 9781786463869