MISSION 499

Introduction to Programming in R

There are many reasons why learning R is important; so many reasons that we've written a whole blog post about why you should learn programming in R.

In this first lesson of our introduction to data analysis in R course, you will learn about the R programming language. We’ll cover the syntax rules of R and take a look at how to explore data with R.

In addition to learning the syntax of R, you will learn about all about variables: what they are, how they're used, and how to assign values to them. You will also learn about vectors, a data structure in R designed to hold multiple values. Towards the end of this lesson, you will learn about functions and how they contribute to programming efficiently.

After you finish this lesson, you will be well-equipped to start building simple programs in R. If you have trouble coming up with ideas, you can practice by following this tutorial to build a simple calculator and maybe some additional ideas for programs will come to mind.

Objectives

  • Learn the basics of R syntax.
  • Learn how to assign values to variables.
  • Learn to perform calculations using comparison operators.

Mission Outline

  1. Learning Data Science
  2. Programming in R
  3. Literal Values: Logicals
  4. Literal Values: Numerics
  5. Literal Values: Integers
  6. Literal Values: Characters
  7. Arithmetic Operators: Simple Expressions
  8. R Syntax
  9. Next Steps


Course Info:

Beginner

This course requires a Basic subscription and includes four missions and one guided project.  It is the first course in the Data Analyst in R path.

START LEARNING FREE

Take a Look Inside