Publications by DataCamp
How to Make a Histogram with Basic R
Over the next week we will cover the basics of how to create your own histograms in R. Three options will be explored: basic R commands, ggplot2 and ggvis. These posts are aimed at beginning and intermediate R users who need an accessible and easy-to-understand resource. Want to learn more? Discover the R tutorials at DataCamp. Wh...
7218 sym Python (2009 sym/14 pcs) 11 img
How to Make a Histogram with ggvis in R
The two previous posts described how you can make histograms with basic R and the ggplot2 package. This third and last part of our histograms tutorial will look at how to make a histogram with ggvis. This package is similar to ggplot2, as it is also based on “the grammar of graphics”. However, ggvis has slightly different expressions and exte...
7549 sym R (1972 sym/14 pcs) 28 img
Short R tutorial: Scraping Javascript Generated Data with R
When you need to do web scraping, you would normally make use of Hadley Wickham’s rvest package. This package provides an easy to use, out of the box solution to fetch the html code that generates a webpage. However, when the website or webpage makes use of JavaScript to display the data you’re interested in, the rvest package misses the requ...
3834 sym R (3193 sym/6 pcs) 8 img
Machine Learning in R for beginners
Introducing: Machine Learning in R Machine learning is a branch in computer science that studies the design of algorithms that can learn. Typical machine learning tasks are concept learning, function learning or “predictive modeling”, clustering and finding predictive patterns. These tasks are learned through available data that were observed...
19875 sym R (4996 sym/30 pcs) 14 img
R Tutorial on Reading and Importing Excel Files into R
Why an R Tutorial on Reading and Importing Excel Files into R is necessary As most of you know, Excel is a spreadsheet application developed by Microsoft. It is an easy accessible tool for organizing, analyzing and storing data in tables and has a widespread use in many different application fields all over the world. It doesn’t need to surpris...
21749 sym R (5520 sym/40 pcs) 10 img
Choosing R or Python for data analysis? An infographic
I think you’ll agree with me if I say: It’s HARD to know whether to use Python or R for data analysis. And this is especially true if you’re a newbie data analyst looking for the right language to start with. It turns out that there are many good resources that can help you to figure out the strengths and weaknesses of bo...
2469 sym 3 img
DataCamp R Certifications – Now Available on Your LinkedIn Profile
You can now quickly and easily integrate your DataCamp.com course completion certificates with your LinkedIn profile. Showcase any completed DataCamp course on your profile, including our free Introduction to R course. Share with managers, recruiters and potential clients the skills and knowledge you’ve acquired at DataCamp. In just a few clic...
1257 sym 16 img
15 Easy Solutions To Your Data Frame Problems In R
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 you that data frames do...
32197 sym R (19497 sym/84 pcs) 12 img
This R Data Import Tutorial Is Everything You Need
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 time, whether you are a beginner or a more advanced R user�...
16301 sym R (2545 sym/35 pcs) 10 img
A Tutorial on Loops in R – Usage and Alternatives
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 (among...
29916 sym R (7670 sym/16 pcs) 12 img