//
archives

markbulling

markbulling has written 9 posts for Drunks&Lampposts

Excuses and Opportunities

Regular readers of the blog will have noticed that I haven’t been a regular contributor to the blog over the last year. There are some good reasons/excuses for that, predominantly around buying and renovating our new home, getting married and starting a new job at Facebook. Having an Arsenal season ticket also doesn’t help. I … Continue reading

Clegg vs Pleb: An XKCD-esque chart

I saw an interesting “challenge” on StackOverflow last night to create an XKCD style chart in R. A couple of hours later & going in a very similar direction to a couple of the answers on SO, I got to something that looked pretty good, using the sin and cos curves for simple and reproducible … Continue reading

The changing face of “Analysis”

Here’s something I started to write a few months ago, but never got around to finish it off. Neil Charles over at Wallpapering Fog has just written an excellent post about the growing importance of R and Tableau to the modern day analyst. Although not as old in the tooth as Neil (sorry Neil), even … Continue reading

Voter Relationship Management

Customer Relationship Management (CRM) seems to be coming into the mainstream, with the New York Times recently reporting how Target has used such analytics to identify expectant mothers based on their shopping habits and was then able to target them appropriately with special offers and vouchers. As the 2012 US Election approaches, it seems that … Continue reading

Book Review: The Art of R Programming

Over the past few months, there have been several glowing reviews of The Art of R Programming by Norman Matloff, which led me to give it a go and buy it for my Kindle. I’ve just finished reading it and am adding to that list of glowing reviews.¬† Having been using R in varying amounts … Continue reading

Some new functions I’ve discovered in R

I’ve been writing a fair amount of R recently and have been going through a good learning period, here are some functions that I’ve discovered (mainly plyr and reshape related) and thought I would share: merge_all is a good way to merge multiple different data frames, rather than multiple merge commands. The key thing is … Continue reading

R: Subsetting a list based on a condition

Quite a handy couple of lines of code to subset a list in R to just those elements which meet a certain condition. Here’s an example to return only those elements of a list which are a certain class. Thanks to this StackOverflow answer.

#sherlock & the power of the retweet

Much has been made over the last few days of Sherlock writer¬†Steven Moffat‘s views on people who tweet whilst watching TV. Whilst watching it last night, I kept an eye on the tweets during the show and there was clearly a lot of volume going through the Twitter-sphere. Interested to find out a bit more … Continue reading

Making an R Package: Not as hard as you think

I’ve been writing functions in R for a while to do various things like talking to APIs, web scraping, model testing and data visualisation (basically thing which can get a bit repetitive!), but have always been slightly intimidated about turning those functions into a package, which I could then call using library (package-name). Note that … Continue reading

Blog Stats

  • 312,879 hits

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 507 other followers

Follow

Get every new post delivered to your Inbox.

Join 507 other followers