## When R is Better

Recently, I wrote a blog post stating that I’m starting to use Python for most of my data science work. And I’m starting to recommend Python as the data science language to use for most beginners. But is it always best? No. As always, it depends: As I like to ask people: “Who are you … Read more

## Why You Should Learn ONE Data Science Language

There are multiple data science languages to choose from. The most popular being R and Python. Many people will tell you to learn both. Learn R AND Python. I think this is probably terrible advice. Let’s discuss why. “Learn Them Both” And Other Bad Ideas There are multiple data science languages that are available to … Read more

## How to Use geom_smooth in R

This tutorial will show you how to use the geom_smooth function in R. It explains what geom_smooth does, explains the syntax, and shows step-by-step examples of how to use this function. If you need something specific, you can click on any of the following links. These links will take you directly to the appropriate place … Read more

## Why R is My Favorite Language for “First Time” Data Scientists

Probably the most common question I get from new data science students is, “Which language should I learn … R or Python?” This is a somewhat complex question to answer, because it depends on who you are and what your goals are. Having said that, I do have a preference for first time data scientists. … Read more

## How to Make a Scatter Plot in R with ggplot2

This tutorial will explain how to create a scatter plot in R with ggplot2. It will explain the syntax for a ggplot scatterplot, and will also show you step-by-step examples. If you need something specific, you can click on any of the following links … Table of Contents: A Quick Review of Scatterplots Syntax Examples … Read more

## How to make a histogram in R with ggplot2

This tutorial will show you how to make a histogram in R with ggplot2. It’ll explain the syntax of the ggplot histogram, and show step-by-step examples of how to create histograms in ggplot2. If you need something specific, just click on any of the following links. Table of Contents: Introduction to Histograms Syntax Examples As … Read more

## How to Create a Barplot in R with geom_bar

This tutorial will show you how to create a barplot in R with geom_bar (i.e., a ggplot barplot). I’ll explain the syntax, and also show you several step-by-step examples. Table of Contents: Introduction to Barplots Syntax Examples Let’s get into it. A Quick Introduction to Barplots Let’s quickly do a review of barplots and barplots … Read more

## The ultimate guide to the ggplot boxplot

This tutorial will explain how to create a ggplot boxplot. It explains the syntax, and shows clear, step-by-step examples of how to create a boxplot in R using ggplot2. If you need something specific, you can click on any of the following links, and it will take you to the appropriate section in the tutorial: … Read more

## How to use the R case_when function

This tutorial will show you how to use the case_when function in R to implement conditional logic like if/else and if/elif/else. It explains the syntax, and also shows clear examples in the examples section. You can click on any of the links below, and it will take you to the appropriate section in the tutorial. … Read more

## A Quick Introduction to Dplyr

There’s sort of an open secret in the data science world: As a data professional, you’ll spend a huge amount of time doing data preparation. Cleaning, joining, reshaping, aggregating … These tasks make up a huge amount of your data work. Many data professionals say as much as 80%. You Need to Master Data Manipulation … Read more