Tutorials


Tutorials // Foundations // R Programming

What is k-means Clustering?

In previous posts, we discussed vectors and vector norms in a basic introduction to linear algebra and got some practice working with them in our Code Lab on coding a simple recommendation system in R. Today, we'll follow up on those skills and take a first look at k-means clustering, a machine learning algorithm for clustering!

Tutorials

Simple Guide to Technical Writing with LaTeX in Overleaf

You probably have your favorite software and tools for writing reports and other text documents but what can we use when we want to write things that involve math equations and symbols? Today's post is a simple guide to getting started with technical writing with LaTeX. LaTeX is a software system that's designed for writing that involves a lot of mathematical equations and symbols.
R Programming // Tutorials

Getting Started with Data Visualizations in R (Part 2)

In our last post on Getting Started with Data Visualizations in R, we went over how to start using ggplot2 in R. We learned how to set up a basic scatterplot and how to change the colors of the points via a variety of methods. We also learned how to update our plot for categorical variables, and how to add labels, change fonts, and alter the legend.

R Programming // Tutorials

Getting Started with Data Visualizations in R (Part 1)

Have you ever wondered how to make colorful and interesting plots and charts for data visualization? Today’s post is Part 1 of a two-part series on getting started with data visualizations in R! Throughout this tutorial, we’ll be using ggplot2, a very useful R package that we can use to make some really great and professional-looking plots and figures for visualizing data.

R Programming // Tutorials

Getting Started with Coding in R (Part 2)

In our previous post on Getting Started with Coding in R (Part 1), we covered how to download and install R and RStudio. In this post, we’ll dive right into coding in R. We’ll do that by quickly building up some skills to complete the following: Write a function to count the total number of heads and tails in a series of coin flips.

R Programming // Tutorials

Getting Started with Coding in R (Part 1)

In future posts, we'll explore some coding projects here. Before jumping in, we'll start with some basics. This post will be the first of two on getting started with coding in R. ...

Spotlight


Code Lab // R Programming

Coding a Simple Recommendation System in R

When we shop online, we often get recommendations for other products that are similar to ones we've been looking at. Systems that recommend related products and services are frequently referred to as recommendation systems. In today's Code Lab, we'll code a simple recommendation system using something called cosine similarity!
Code Lab // R Programming

Exploring Trends in Urban Bike Share Data

In our last two posts, we went over how to start making data visualizations in R with ggplot2. Now that we've finished that series, let's work on a Code Lab featuring exploratory data analysis! Today, we’ll be exploring patterns in urban bike share usage...
Code Lab // R Programming

Estimate Pi with Dart Throwing in R!

Now that we’ve had several posts on getting started with coding in R (see Part 1, Part 2, and More Resources) we’re ready to get started with our first Code Lab!  In this post, we’ll see how we can estimate pi with dart throwing in R!