5.0 / 5
We will cover the following tasks in 41 minutes:
To be good at analytics you need to be fast. And to be fast you need to practice. Don’t spend a day without using dplyr for the first year. Play with data sets, play with the functions, have fun, and memorize these verbs. R takes the cake when it comes to quick slicing and dicing of data frames. Why? Dplyr.
Heavier Lifting with Mutate
In this lesson we’re going to up the ante and learn some more mutate tricks.
Let’s go over a few more examples before we start ramping up the complexity.
We’re going to lay out the framework in this lesson. I’ll show you how to use the Virtual Machine, load the data, I’ll give you a quick bio and then we’ll be ready to get to work.
Mutate with an If Else Statement
This is a great tool for creating user specified columns. Don’t miss this one.
This is a special function. When scraping data (after you take my rvest course) you can use mutate all to clean the data in quick fashion. Come in and I’ll show you.
Mutating Rows as opposed to Columns
Yes we can mutate rowwise. In this lesson I will show you how. I will also give you a story about the day that you go to R as your tool of choice for analytics and how what we’re doing will help you make that transition easier.
In this chapter we’re going to be spend time going over the dplyr verb Mutate. Remember this is the dplyr verb that allows us to create new variables. Come on in and we’ll get started.
About the Host
I am a R enthusiast, hiker, and amateur astronomer. My favorite hike is located in Mt. Rainier National Park, my favorite Deep Sky Object is Alberio, and my favorite R package is dplyr (since I use it everyday). I am single too. Maybe because I spend too much time playing? I have a dog named Coog (Lllasa Apso), who would rather be outside than inside, which means I have to take him on a lot of walks. I work as a Data Analyst/Financial Analyst for a Metals Co. located in Seattle, WA. I have been in my current position for 4 years. My hope is that I can help you, even if its with my enthusiasm. Yes you can learn R and the Rhyme Interface will help you. But. You also must take what you learn and practice, practice, practice. So... Let's get after it. See you soon.