R & Stats

tutorials | R packages  | teaching  

Below you can find some tutorials on various topics related to doing statistics in R. At the end of this page, the newest versions of my (co-)authored R packages are listed. 


R packages


We've combined several functions that facilitate the statistical analysis with GAMMs in the package itsadug, which is available on CRAN. The package includes functions for model comparisons, visualization of nonlinear interactions, and inspection of the residuals.

Version 2.3 of itsadug is available on CRAN. Below the code for installing the newest version of itsadug (version 2.3) directly.


Jacolien van Rij, Martijn Wieling, R. Harald Baayen, & Hedderik van Rijn (2017). itsadug: Interpreting Time Series and Autocorrelated Data Using GAMMs. R package version 2.3.

how to install:

If you are interested to try the package, you can use the package installer in R, or run the following code in R to install the package:


Alternatively, the newest version of the package can be downloaded or directly installed from my website. Run the following code in R:

# first install the package plotfunctions (necessary for itsadug):

install.packages("http://www.jacolienvanrij.com/itsadug/package/plotfunctions_1.3.tar.gz", repos=NULL, type="source")

# then install itsadug in the same way:

install.packages("http://www.jacolienvanrij.com/itsadug/package/itsadug_2.3.tar.gz", repos=NULL, type="source")


The package plotfunctions implements various functions that facilitate visualization of data and analysis results. The functions in the package are relatively simple and are intended to facilitate incremental building of graphs using the standard R plot functions (e.g., plot, lines, points) An overview of most functions can be found in the vignette (or see vignette("plotfunctions") ).


From January 2018 I started as Rosalind Franklin Fellow at the Artificial Intelligence Department, University of Groningen.

Upcoming courses:

  • May 14-18: The Visual World Paradigm step-by-step – Eye-tracking for spoken language research. With Juhani Järvikivi and Vince Porretta. STEP @CCP 2018, Edmonton, Canada
  • May 19: GAMMs workshop. With Vince Porretta. STEP @CCP 2018, Edmonton, Canada
  • June 19-22: Introduction to nonlinear regression modeling. LOT Summer School 2018, Groningen