Introduction to Writing Functions in R

0
Language

Level

Beginner

Access

Paid

Certificate

Paid

Take your R skills up a notch by learning to write efficient, reusable functions.

Add your review

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.

What You’ll Learn

How to Write a Function

Learn why writing your own functions is useful, how to convert a script into a function, and what order you should include the arguments.

Return Values and Scope

Learn how to return early from a function, how to return multiple values, and understand how R decides which variables exist.

All About Arguments

Learn how to set defaults for arguments, how to pass arguments between functions, and how to check that users specified arguments correctly.

Case Study on Grain Yields

Apply your function writing skills to a case study involving data preparation, visualization, and modeling.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Introduction to Writing Functions in R”

×

    Your Email (required)

    Report this page
    Introduction to Writing Functions in R
    Introduction to Writing Functions in R
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.