Blog Archives

The Simpsons as a Chart

March 26, 2016
By
The Simpsons as a Chart

Inspired by this clever image, I thought I would whip it up in R.Results:Below is the R code: 1: # Prepare ----------------------------------------------------------------- 2: rm(list=ls());gc() 3: pkg <- c("ggplot2") 4: inst <- pkg %in% i...

Read more »

Visualing High Dimensions as DNA Strands

January 10, 2016
By
Visualing High Dimensions as DNA Strands

For a community project, I needed to research which U.S. cities were most similar to mine. The U.S. census has some wonderful data that covers 1,579 statistical areas, using the Office of Management & Budget's definition.With this data, I selected the relevant attributes and then calculated the root mean squared error of the scaled distances from the target city...

Read more »

What Does the AVERAGE Brand Logo Look Like?

October 23, 2015
By
What Does the AVERAGE Brand Logo Look Like?

PNG images are essentially a grid of values that represent colors to display. Since each cell in the grid is made up of numbers, I got curious about what it might mean to aggregate multiple PNGs. What would it look like to average two or more images? Median?To do so, I pulled the top 100 brands' logos from 

Read more »

cuRve stitching

September 15, 2015
By
cuRve stitching

Remember curve stitching from grade school? It makes for a nice tutorial for working with some common R functionality.Here's an example of how to create the appearance of a parabola from plotting a series of straight lines:pkg <- c("ggplot2","reshap...

Read more »

Top 2 Packages for Newly Hired Data Scientists

July 9, 2015
By

 library(NewCo knowledge)function (X, FUN, ..., ) {FUN <-                                Read the business wires +                                Go to lunch with wide range of people +                                Read the 10-K and maybe 10-Q +                                Find a go-to source for “stupid questions”                 else Ignorant}library(credibility)function (X, FUN, ..., ) {FUN <-                                Double-check all assumptions +                                Underpromise +                                Save counterintuitive findings for last +                                Find a...

Read more »

Finding Similar European Soccer Clubs (with R & Shiny)

March 17, 2015
By
Finding Similar European Soccer Clubs (with R & Shiny)

Are you a die-hard supporter of one European soccer (football) team (club)? Having a rough season, or just want to watch more matches with passion?This European Team Finder analyzed 126 attributes of the top-flight teams in the marquee n...

Read more »

Tableau 9.0 Connects Directly to R Data Files

March 11, 2015
By
Tableau 9.0 Connects Directly to R Data Files

Tableau 9.0 will be released soon.Tableau 8 already integrates with some R functionality, but 9.0 actually allows direct connection to R data files.Tableau continues to remove friction between itself and R, further justifying its superior Gartner ...

Read more »

R’s Tricky == Operator, or "It depends on what the meaning of the word ‘is’ is"

February 11, 2015
By
R’s Tricky == Operator, or "It depends on what the meaning of the word ‘is’ is"

One scenario where R can trip up a programmer is when using the == operator or its relatives. The help page notes that "NA values are regarded as non-comparable", which introduces some potentially unexpected behavior.As a toy example, look what happens...

Read more »

First Day of the Month, Using R

December 29, 2014
By
First Day of the Month, Using R

Future-proofing is an important concept when designing automated reports. One thing that can get out of hand over time is when you accumulate so many periods of data that your charts start to look overcrowded. You can solve for this by limiting the num...

Read more »

FIFA 15 Analysis with R

September 26, 2014
By
FIFA 15 Analysis with R

Several months ago, I used R to analyze professional soccer players based on their attributes from the video game, FIFA14. Now that FIFA15 is upon us, let's take a similar look.FIFA 15 is a video game by EA Sports that mimics the experience of managing and playing for a soccer team. The game uses the likenesses and attributes...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



http://www.eoda.de







ODSC

ODSC

CRC R books series





Six Sigma Online Training



Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)