Logical Operations

R Programming: Conditionals, Loops, Functions, and Packages

Ends soon: Gain next-level skills with Coursera Plus for $199 (regularly $399). Save now.

Logical Operations

R Programming: Conditionals, Loops, Functions, and Packages

Bill Rosenthal

Instructor: Bill Rosenthal

Included with Coursera Plus

Learn more

Gain insight into a topic and learn the fundamentals.
5 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
5 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • In this course, you will write conditional statements and loops, and structure code for reuse with functions and packages.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

January 2026

Assessments

1 assignment

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the R Programming for Data Science Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 3 modules in this course

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.

What's included

1 reading4 plugins

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

What's included

5 plugins

You'll wrap things up and then validate what you've learned in this course by taking an assessment.

What's included

1 reading1 assignment

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Bill Rosenthal
Logical Operations
120 Courses 915 learners

Offered by

Explore more from Data Analysis

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions