Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

R Programming: Conditionals, Loops, Functions, and Packages

via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
In this course, you'll continue to develop your R programming skills by writing conditional statements and loops—two of the most important constructs in any programming language. You'll also structure code for reuse by defining and calling functions, applying loop functions, and managing R packages. This is the second course in a multi-course Specialization. All of the courses in this Specialization require that you have R and R Studio installed on a Windows PC. The course setup instructions provided in the first course go into more detail about the hardware and software requirements.

Syllabus

  • Writing Conditional Statements and Loops
    • Like any modern programming language, R enables you to control the logical flow of a program. The main constructs for doing so are conditional statements and loops, which you'll implement in this lesson so that you can apply decision making to code.
  • Structuring Code for Reuse
    • Most languages excel at giving programmers the tools they need to make coding easier. Reusing code not only allows you to develop at a quicker pace, but it also makes your source code more readable. Inefficient and ugly code is incredibly difficult to maintain, so you'll leverage R's built-in reusable objects to avoid this pitfall
  • Completing the Course
    • You'll wrap things up and then validate what you've learned in this course by taking an assessment.

Taught by

Bill Rosenthal

Reviews

Start your review of R Programming: Conditionals, Loops, Functions, and Packages

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.