R

Robert Myles McDonnell

4 minute read

πŸ‡¨πŸ‡¨ πŸ‡¨πŸ‡½ πŸ‡΅πŸ‡Ή πŸ‡©πŸ‡΄ πŸ‡«πŸ‡² πŸ‡°πŸ‡· Recently I wrote a little package for R called flagfillr (you can read more details here). One of the main reasons I made this is because I had seen a few maps of economic partners, for example this one, from here: These types of maps (some more here, of the US) are interesting visual summaries, but they look a little Excel to me (sorry, whoever made it!

Robert Myles McDonnell

4 minute read

(This turned out to be a bit of a ramble, for the code go here πŸ˜„)

My PhD thesis focused on latent variable models as a way to model legislative voting behaviour. The main model I used is called the Bayesian Item Response model, and the idea is that, from the observed votes of the legislators, we can build a scale on which we can place them, relative to one another.

Robert Myles McDonnell

4 minute read

I had some problems setting up my website to work properly with blogdown and Netlify (draft posts kept getting built), so in the process of learning how to do it properly (and repeatedly badgering Yihui haha – sorry, Yihui!), I realised plenty of others are having the same problem. It seems to be one of those things that is super simple, but just causes problems for whatever reason. Anyway, here’s how to set up a website with blogdown and Netlify.