Select Page
How to rename columns in R

How to rename columns in R

In this blog post, I’ll show you how to rename columns in R. This is pretty straightforward if you know how to do it properly, but there are also some little challenges in renaming variables. So very briefly, I’ll explain why renaming variables in a...
How to create a substring in R

How to create a substring in R

If you want to be a data scientist, you need to master core data manipulation tools. One particular skill you’ll need to master is string manipulation. You need to be able to work with strings (i.e. character data) in order to clean, modify, or reshape them. In...
A quick and dirty guide to the dplyr filter function

A quick and dirty guide to the dplyr filter function

You’ve probably heard it before: 80% of your work as a data scientist will be data wrangling. While that’s sort of a rough number, experience bears out that data wrangling is a massive part of your job as a data scientist. As such, it pays to know data...
The ultimate guide to the ggplot histogram

The ultimate guide to the ggplot histogram

The ggplot histogram is very easy to make. But like many things in ggplot2, it can seem a little complicated at first. In this article, we’ll show you exactly how to make a simple ggplot histogram, show you how to modify it, explain how it can be used, and more....
A key for mastering data science

A key for mastering data science

A few days ago, I received an email from a Sharp Sight reader. The author of the email is having trouble learning data science in R. He’s taken several data science courses, but still has trouble with critical data science skills. Here’s an excerpt from...