Monthly Archives: July 2014

Bangalore workshop [ಬೆಂಗಳೂರು ಕಾರ್ಯಾಗಾರ]

July 30, 2014
By
Bangalore workshop [ಬೆಂಗಳೂರು ಕಾರ್ಯಾಗಾರ]

Second day at the Indo-French Centre for Applied Mathematics and the workshop. Maybe not the most exciting day in terms of talks (as I missed the first two plenary sessions by (a) oversleeping and (b) running across the campus!). However I had a neat talk with another conference participant that led to

Read more »

More Readable Code with Pipes in R

July 30, 2014
By
More Readable Code with Pipes in R

Several blog posts have made mention of the 'magrittr' package which allows functional arguments to be passed to functions in a pipes style fashion (David Smith ).This stylistic option has several advantages:  1. Reduced requirements of nested par...

Read more »

Accidental aRt

July 30, 2014
By
Accidental aRt

R is a very powerful language for creating custom data visualizations, but during the development process sometimes you make a mistake and things go horribly wrong. But sometime serendipity intervenes, and the (unintended) result can be quite beautiful. Accidental aRt, if you will. Curated by Kara Woo and Erika Mudrak, this fantastic Tumblr captures beautiful but unintended examples from...

Read more »

Refresh Old rCharts+flickr post with httr and pipeR

July 30, 2014
By

The R world keeps moving, and I noticed this old post didn’t work anymore, so I have rewritten it to use Hadley Wickham's httr instead of Rflickr for two reasons: Rflickr is not working for me anymore httr is a very helpful package for navigating the "what was scary to me" world of http and oauth In...

Read more »

ideal point graphics, via d3

July 30, 2014
By
ideal point graphics, via d3

I’ve updated some of the graphical displays of the ideal point estimates I serve up here. I’ve rendered some of these in d3, with some rollover lah-de-dah: (1) 113th House ideal points in a long “caterpillar” format; (2) scatterplot of ideal point against Obama 2012 vote in district. Screenshot of the scatterplot appears below. My

Read more »

drinkR: Estimate your Blood Alcohol Concentration using R and Shiny.

July 30, 2014
By
drinkR: Estimate your Blood Alcohol Concentration using R and Shiny.

Inspired by events that took place at UseR 2014 last month I decided to implement an app that estimates one’s blood alcohol concentration (BAC). Today I present to you drinkR, implemented using R and Shiny, Rstudio’s framework for building web apps using R. So, say that I had a good dinner, drinking a couple of glasses...

Read more »

writing #rstats bindings for bwa-mem, my notebook.

July 30, 2014
By

I wanted to learn how to bind a C library to R, so I've created the following bindings for BWA. My code is available on github at :https://github.com/lindenb/rbwaMost of the C code was inspired from Heng Li's code https://github.com/lh3/bwa/blob/master...

Read more »

Measuring Fat Loss without the scale

July 30, 2014
By
Measuring Fat Loss without the scale

@tdhopper posted his self-measurements of weight loss a few months back. I recently decided also that I wanted to lose fat-weight—the infamous “I could stand to be a few kilos lighter”—and I think I came up with a more productive way of thinking about my progress: I’m not going to look at the scale at all....

Read more »

Building Interactive Graphs with ggplot2 and Shiny

July 30, 2014
By
Building Interactive Graphs with ggplot2 and Shiny

Some time ago, I was contacted from guys at Packt Publishing. Their just published the Building Interactive Graphs with ggplot2 and Shiny online course and they ask me my (humble) opinion. I am proud of their request, and I will review shortly … Continue reading →

Read more »

“F-bombs” in GitHub Commits (warning: contains profanity)

July 30, 2014
By
“F-bombs” in GitHub Commits (warning: contains profanity)

Warning: this post contains profanity...arguably excessive amounts of it.  If you are a humorless no-fun, you are recommended to proceed no further. Seriously though, the title is quite descriptive of the content of this post.  If you are offended by the use of such language, or if your boss is likely to come peering over your shoulder soon, I...

Read more »