Publications by R on Coding Club UC3M
Strange Attractors: an R experiment about maths, recursivity and creative coding
by Antonio Sánchez Learning to code can be quite hard. Apart from the difficulties of learning a new language, following a book can be quite boring. From my point of view, one of the bests ways to become a good programmer is choosing small and funny experiments oriented to train specific techniques of programming. This is what I usually do in my...
12165 sym R (5391 sym/10 pcs) 12 img
Spatial Data Analysis with INLA
by Virgilio Gómez Rubio Introduction In this session I will focus on Bayesian inference using the integrated nested Laplace approximation (INLA) method. As described in Rue et al. (2009), INLA can be used to estimate the posterior marginal distribution of Bayesian hierarchical models. This method is implemented in the INLA package available for...
16908 sym R (12958 sym/26 pcs) 10 img 2 tbl
Automated testing with ‘testthat’ in practice
by Virginia Peón García You test your code. We know you do. How else are you sure that your changes don’t break the program? But after you commit, you discard those pesky scripts and throw away code. Don’t you think it’s a bit of a waste to dump all that effort that took you quite a decent chunk of your day to conjure? Well, here you are,...
13297 sym R (6373 sym/24 pcs) 12 img
Herds of statistical models
by Carlos J. Gil Bellosta Big datasets found in statistical practice often have a rich structure. Most traditional methods, including their modern counterparts, fail to efficiently use the information contained in them. Here we propose and discuss an alternative modelling strategy based on herds of simple models. Big Data: How big datasets came ...
16018 sym R (7065 sym/12 pcs) 2 img 1 tbl
Graph Theory 101 with corruption cases in Spain
by María Medina Pérez According to CIS’ barometer, political corruption is the second biggest concern in Spain, only behind unemployment, and has been in this position since 2013, as we see Spanish news talking about open trials and new investigations on a regular basis. The European Commission estimates that corruption alone costs the EU eco...
10580 sym R (3112 sym/18 pcs) 10 img
An introduction to web scraping: locating Spanish schools
by Jorge Cimentada Introduction Whenever a new paper is released using some type of scraped data, most of my peers in the social science community get baffled at how researchers can do this. In fact, many social scientists can’t even think of research questions that can be addressed with this type of data simply because they don’t know it’...
17263 sym R (9674 sym/24 pcs) 20 img
Displaying time series with R
by Oscar Perpiñán Lamigueiro Introduction A time series is a sequence of observations registered at consecutive time instants. The visualization of time series is intended to reveal changes of one or more quantitative variables through time, and to display the relationships between the variables and their evolution through time. The standard t...
17366 sym R (9079 sym/33 pcs) 32 img