Publications by aschinchon

The Hype Bubble Map for Dog Breeds

18.04.2016

In the whole history of the world there is but one thing that money can not buy… to wit the wag of a dog’s tail (Josh Billings) In this post I combine several things: Simple webscraping to read the list of companion dogs from Wikipedia. I love rvest package to do these things. Google Trends queries to download the evolution of searchings of ...

3607 sym R (3694 sym/1 pcs) 10 img

Zooming

02.05.2016

You don’t have to be beautiful to turn me on (Kiss, Prince) I discovered recently how easy is to create GIFs with R using ImageMagick and I feel like a kid with a new toy. To begin this new era of my life as R programmer I have done this: First of all, read this article: it explains very well how to start doing GIFs from scratch. The one I hav...

1182 sym R (1108 sym/1 pcs) 6 img

Playing With Julia (Set)

17.05.2016

Viento, me pongo en movimiento y hago crecer las olas del mar que tienes dentro (Tercer Movimiento: Lo de Dentro, Extremoduro) I really enjoy drawing complex numbers: it is a huge source of entertainment for me. In this experiment I play with the Julia Set, another beautiful fractal like this one. This is what I have done: Choosing the functio...

1248 sym R (1302 sym/1 pcs) 6 img

Women in Orchestras

06.06.2016

I believe in the truth of fairy-tales more than I believe in the truth in the newspaper (Lotte Reiniger) In my opinion, this graph is a visual demonstration that we live in a male very chauvinist world. In this experiment I download the members of ten top orchestras of the world with the amazing rvest package. After cleaning texts, I obtain th...

939 sym R (5179 sym/1 pcs) 6 img

Amazing Things That Happen When You Toss a Coin 12 Times

19.06.2016

If there is a God, he’s a great mathematician (Paul Dirac) Imagine you toss a coin 12 times and you count how many heads and tails you are obtaining after each throwing (the coin is equilibrated so the probability of head or tail is the same). At some point, it can happen that number of heads and number of tails are the same. For example, ...

1794 sym R (1432 sym/1 pcs) 6 img

Visualizing Stirling’s Approximation With Highcharts

05.07.2016

I said, “Wait a minute, Chester, you know I’m a peaceful man”, He said, “That’s okay, boy, won’t you feed him when you can” (The Weight, The Band) It is quite easy to calculate the probability of obtaining the same number of heads and tails when tossing a coin N times, and N is even. There are possible outcomes and only are favo...

1715 sym R (963 sym/1 pcs) 18 img

Visualizing the Gender of US Senators With R and Highmaps

28.07.2016

I wake up every morning in a house that was built by slaves (Michelle Obama) Some days ago I was invited by the people of Highcharts to write a post in their blog. What I have done is a simple but revealing map of women senators of the United States of America. Briefly, this is what I’ve done to generate it: read from the US senate website a X...

1090 sym 4 img

Gummy Worms

08.08.2016

Just keep swimming (Dory in Finding Nemo) Inspired by this post, I decided to create gummy worms like this: Or these: When I was young I used to eat them. Do you want to try? This is the code: library(rgl) library(RColorBrewer) t=seq(1, 6, by=.04) f = function(a, b, c, d, e, f, t) exp(-a*t)*sin(t*b+c)+exp(-d*t)*sin(t*e+f) v1=runif(6,0,1e-02) v2...

596 sym R (442 sym/1 pcs) 24 img

The Breathtaking 1-Matrix

22.08.2016

La luna sale a caminar siguiendo tus pupilas (Ojos color sol, Calle 13) This is a 5×5 1-matrix: And this is a 20×20 1-matrix visualized: Maybe in some other galaxy, aliens represent matrix in this way. par(mar = c(1, 1, 1, 1), bg="violetred4") circlize::chordDiagram(matrix(1, 20, 20), col="white", ...

596 sym R (252 sym/1 pcs) 8 img

Bye Ripples, Hi Fronkonstin

02.09.2016

Nobody knows how to say goodbye, It seems so easy until you try (Nobody Knows, The Lumineers) I have been user of WordPress.com for (almost) three years and it has been a very good experience. But I want to take more control of my blog: install plugins, manage ads (someone interested out there to publicize in my blog?) and place interactive cha...

1157 sym 4 img