R

5 posts
[Members Only] How I Made That: Nationwide Dot Density Map

I used a combination of existing tutorials and a bunch of shapefiles to map one dot per person. Read More

0 0
Convert an image to LEGO brick shopping list in R

Every day you wish you could convert a picture of your family or a group of friends into a LEGO palette. Well wish no more. Ryan Timpe wrote a package that lets you input an image in R and get back a LEGO-ized version of it, along with an optimized, money-saving brick list. Dreams come true. Don’t let anyone tell you otherwise. Tags: image, LEGO, R

0 0
[Members Only] 3-D Printing: How to Prepare the Data in R

Moving your data from the digital screen to something more physical isn't as tricky as it seems. Here's how I did it. Read More

0 0
Data, R, and a 3-D Printer

We almost always look at data through a screen. It's quick and good for exploration. So is there value in making data physical? I played around with a 3-D printer to find out. Read More

0 0
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