How to Get, Set or Change your working directory in R
If you are just starting out in R it'll be important to know how to determine your working directory or how to find the...
How to merge data frames in R
You will find occasions when you'll need to merge data from two different data frames. In order to merge two datasets you are required...
How to Import Data as CSV into R
There are a few different ways to import data into R. We will cover two ways in this post, downloading a file from the...
Fix: sudo: port: command not found
I'm trying to setup Python 2.7 and SciPy and hit a major roadblock. I kept getting
sudo: port: command not found
On Mac OSX, I'm...
What is Random Sampling and How to run it in R
We will walk you through how to run random sampling in R, but first lets discuss what is random sampling and why is it...
How to generate random numbers and set seeds in R
Lets learn how to generate random numbers in R. There might be occasions where you'd want to draw random numbers but want to be...
Histogram in R: How to example using NFL QB data
A histogram in R is very useful to use when you want to see more detail on all of the data within your data...
How to use the str function in R
What is str? Str is a compact way to display the structure of an R object.
This allows you to use str as a...
How to: Import NFL Data into R / R Studio – HTML import
If you want to start running some cool analysis on NFL data (or any other sport for that matter) there are a number of...
How to: Create column names in R / R Studio
If you want to create your own headers there is an easy way to do that. You can use the optional col.names argument to...