Calling Pre-built Functions
Learn how to call a function in R and to install and load a package to use its pre-built functions.
This tutorial will teach you the basics of R. It is not necessary to have any prior programming experience.
Most, if not all, routine data science tasks have been packaged with pre-built functions in R, so we don’t need to rewrite these tasks from scratch. Whether it’s data manipulation, modeling, or doing calculations on the data, there is likely a package containing a collection of pre-built functions to help you implement a task, speeding up the process, so you can be a bit more productive.
Whether you realize it or not, we have already used some pre-built functions in R. For example, “read.CSV”. This is a pre-built function that takes inputs such as the CSV file into a directory and some other optional inputs such as specifying whether the file does or does not have header columns.
To get started watch the video
Now you’re ready to make the most of R’s pre-built functions which you’ll be using a lot to help carry out many different data science tasks. Check out our Data Science Bootcamp that can help you reinforce this skill.
In the next video, you will be introduced to control statements and why they’re useful.
© Copyright – Data Science Dojo