The DataCamp Blog
user

The DataCamp Blog

DataCamp is an online data science school teaching data science by using fun video lessons and interactive coding challenges.


Navigation
Featured

Data Science

A Tutorial on Using Functions in R! (and their scoping)

Posted on August 20th, 2015.

Introduction In a previous post, we covered part of the R language control flow, the cycles or loop structures. In a subsequent one, we showed how to avoid ‘looping’ by means of functions, that act on compound data in repetitive ways (the apply family of functions). Here, we introduce the notion of function from the […]

Featured

R

Importing Data Into R – Part Two

Posted on August 18th, 2015.

In this follow-up tutorial of This R Data Import Tutorial Is Everything You Need-Part One, DataCamp continues with its comprehensive, yet easy tutorial to quickly import data into R, going from simple, flat text files to the more advanced SPSS and SAS files. As a lot of our readers noticed correctly from the first post, […]

Featured

R

Microsoft Launches Its First Free Online R Course on edX

Posted on August 4th, 2015.

Today, Microsoft and DataCamp launched an exciting new course on edX.org covering the basics of the statistical programming language R. This four week course is free for everyone, and no prior knowledge in programming or data science is required. Make sure to watch the course promotion video:   What sets this Introduction to R course […]

Featured

R

15 Questions All R Users Have About Plots

Posted on July 30th, 2015.

R allows you to create different plot types, ranging from the basic graph types like density plots, dot plots, bar charts, line charts, pie charts, boxplots and scatter plots, to the more statistically complex types of graphs such as probability plots, mosaic plots and correlograms. In addition, R is pretty known for its data visualization […]

Featured

R

R tutorial on the Apply family of functions

Posted on July 28th, 2015.

Introduction In our previous tutorial Loops in R: Usage and Alternatives , we discussed one of the most important constructs in programming: the loop.  Eventually we deprecated the usage of loops in R in favor of vectorized functions. In this post we highlight some of the most used vectorized functions: the apply functions. In the present post we show the use […]

Featured

R

A Tutorial on Loops in R – Usage and Alternatives

Posted on July 23rd, 2015.

Introduction In this easy-to-follow R tutorial on loops we will examine the constructs available in R for looping, and how to make use of R’s vectorization feature to perform your looping tasks more efficiently. We will present a few looping examples; then criticize and deprecate these in favor of the most popular vectorized alternatives (amongst […]

Featured

R

This R Data Import Tutorial Is Everything You Need

Posted on July 21st, 2015.

You might find that loading data into R can be quite frustrating. Almost every single type of file that you want to get into R seems to require its own function, and even then you might get lost in the functions’ arguments. In short, it can be fairly easy to mix up things from time to […]

Featured

R

DataCamp talks @user2015aalborg

Posted on June 29th, 2015.

The team behind DataCamp is getting ready for its third useR! attendance in as many years. This year we will contribute two talks. One on teaching R in class, and another on our testwhat package. Talk One: Teaching R in (an Online) Class Today, over 145,000 people have started a course on DataCamp. In this […]

Featured

R

15 Easy Solutions To Your Data Frame Problems In R

Posted on June 11th, 2015.

R’s data frames regularly create somewhat of a furor on public forums like Stack Overflow and Reddit. Starting R users often experience problems with the data frame in R and it doesn’t always seem to be straightforward. But does it really need to be so? Well, not necessarily. With today’s post, DataCamp wants to show […]

Featured

R

Case Study: DataCamp, dplyr, and blended learning

Posted on June 10th, 2015.

Editorial Note: This is a guest blog post by Professor Matthew J. Salganik (Princeton University) in which he describes his experiences using the DataCamp interactive learning platform for blended learning. The article was first published on Wheels on the Bus. Want to use DataCamp in your class as well? Contact us via teach@datacamp.com. DataCamp, dplyr, and blended learning As […]