Skip to main content
HomeR

course

Introduction to Writing Functions in R

Beginner
4.7+
30 reviews
Updated 12/2024
Take your R skills up a notch by learning to write efficient, reusable functions.
Start course for free

Included for FreePremium or Teams

RSoftware Development4 hours14 videos52 exercises4,350 XP45,540Statement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Being able to write your own functions makes your analyses more readable, with fewer errors, and more reusable from project to project. Function writing will increase your productivity more than any other skill! In this course you'll learn the basics of function writing, focusing on the arguments going into the function and the return values. You'll be writing useful data science functions, and using real-world data on Wyoming tourism, stock price/earnings ratios, and grain yields.

Prerequisites

Introduction to the TidyverseIntermediate R
1

How to Write a Function

Start Chapter
2

All About Arguments

Start Chapter
3

Return Values and Scope

Start Chapter
4

Case Study on Grain Yields

Start Chapter
Introduction to Writing Functions in R
Course
Complete

Earn Statement of Accomplishment

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

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.7
from 30 reviews
80%
17%
0%
3%
0%
  • Julia Z.
    10 months

    Great!!! I really liked that course.

  • Olga L.
    about 1 year

    Interactive hands-on course

  • Thomas H.
    about 1 year

    This will change my workflow for the better. Can put to use what I learned on any current project, and clean up and improve my scattered library of scripts.

  • Vern V.
    about 1 year

    As with other courses at Datacamp, this course was relevant, informative, balanced (theory vs practical), and engaging. Provides a good and solid foundation upon which to build one's capacity to writeand use functions in R.

  • Guisseppe V.
    over 1 year

    Very helpful to update my skills in creating functions to my daily job.

"Great!!! I really liked that course."

Julia Z.

"Interactive hands-on course"

Olga L.

"This will change my workflow for the better. Can put to use what I learned on any current project, and clean up and improve my scattered library of scripts."

Thomas H.

Join over 15 million learners and start Introduction to Writing Functions in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.