R

31 posts
Datasets for teaching data science

Rafael Irizarry introduces the dslabs package for real-life datasets to teach data science: [I] try to avoid using widely used toy examples, such as the mtcars dataset, when I teach data science. However, my experience has been that finding examples that are both realistic, interesting, and appropriate for beginners is not easy. After a few years of teaching I have collected a few datasets that I think fit this criteria....

0 0
[Members Only] How to Make Chord Diagrams in R

Show connections in the circular layout for a more compact presentation. Read More

0 0
Traveling salesman image drawing

This is a fun drawing experiment in R by Antonio Sánchez Chinchón. A simple process: convert an image to black and white, sample the black points, and then solve the Traveling Salesman Problem for those points. Draw the resulting path for something like the above. Grab the R code to try it with your own images and settings. Tags: R, traveling salesman

0 0
Outlier detection in R

Speaking of outliers, it’s not always obvious when and why a data point is an outlier. The Overview of Outliers package in R by Antony Unwin lets you compare methods. Articles on outlier methods use a mixture of theory and practice. Theory is all very well, but outliers are outliers because they don’t follow theory. Practice involves testing methods on data, sometimes with data simulated based on theory, better with...

0 0
[For Members] How to Make Unit Charts with Icon Images in R

Make the unit chart less abstract with icons that represent the data, or use this in place of a bar chart. Read More

0 0
[For Members] How to Make Venn Diagrams in R

The usually abstract, qualitative and sometimes quantitative chart type shows relationships. You can make them in R, if you must. Read More

0 0
Field Guide to the R Ecosystem

If you’re looking to acquaint yourself with R — the non-coding aspects of the language — the brief Field Guide to the R Ecosystem by Mark Sellers might help. Perhaps, you’re a hobbyist R user, who’d like to provide more information to your company in order to make a case for adopting R? Maybe you’re part of a support team who’ll be building out infrastructure to support R in your...

0 0
R data structures for Excel users

Introducing yourself to R as an Excel user can be tricky, especially when you don’t have much programming experience. It requires that you switch from one mental model of the data that exists in an interactive spreadsheet to one that exists in vectors and lists. Steph de Silva provides a translation of these data structures for Excel users. Tags: Excel, R

0 0
12 Days of ChaRt-mas

As everyone has already checked out for the rest of the year, I'm going to mess around with R to the tune of The Twelve Days of Christmas and nobody can stop me. Read More

0 0
[For Members] How to Arrange Small Multiples in a State Map Grid Layout in R

Combining small multiples with the grid layout can make for an intuitive geographic reference. Read More

0 0