Introduction to R: Functions

Channel:
Subscribers:
54,100
Published on ● Video Link: https://www.youtube.com/watch?v=AdPy3gIA-3k



Duration: 13:17
2,043 views
46


You can go a long way in R doing data science using functions built into the base language or available in packages, but sooner or later you'll probably need to write custom code to perform an operation that is not available in a prepackaged function. In this lesson, we learn how to create new functions in R.

This is lesson 12 of a 30-part introduction to the R programming language for data analysis and predictive modeling. Link to the code notebook below:

Introduction to R: Functions https://www.kaggle.com/hamelg/intro-to-r-part-12-functions

Previous lesson on control flow: https://www.youtube.com/watch?v=h2zPmHhzmzo

This guide does not assume any prior exposure to R, programming or data science. It is intended for beginners with an interest in data science and those who might know other programming languages and would like to learn R.

I will create the videos for this guide such that you should be able to learn a lot just watching on YouTube, but to get the most out of the guide, it is recommended that you create a Kaggle account so that you can fork and edit each lesson so that you can follow along and run code yourself.

Follow DataDaft on social media for news and updates:
Twitter: https://twitter.com/DataDaft

Introduction to R Playlist:
https://www.youtube.com/playlist?list=PLiC1doDIe9rDjk9tSOIUZJU4s5NpEyYtE







Tags:
functions in r
define functions r
custom functions r
r basics
r programming tutorial
r programming for beginners
introduction to R
intro to r
r programming
r tutorial
r programming language
getting started with r
r notebook tutorial
programming notebook
data science notebook
data science
data analysis
control flow
learn to program
programming basics