Here I've listed online tutorials on various topics related to doing statistics and data visualization in R. See also the newest versions of my (co-)authored R packages below.

online tutorials

r packages

Note that there are new versions available online from itsadug and plotfunctions, but not yet on cran:

install.packages("install.packages('", repos=NULL)')


The package itsadug (Interpreting Time Series and Autocorrelated Data Using GAMMs) aims to facilitate the statistical analysis with GAMMs and includes functions for model comparisons, visualization of nonlinear interactions, and inspection of the residuals.

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:


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


The package plotfunctions implements various functions for 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 (see vignette("plotfunctions") in R console).



This package is implemented by Vince Porretta and Aki-Juhani Kyröläinen for preprocessing of gaze data within the Visual World Paradigm. The package contains detailed information in the vignettes (see vignette("VWPre") in R console).


More information: Vince Porretta, Aki-Juhani Kyröläinen, Jacolien van Rij, Juhani Järvikivi (2018): Visual world paradigm data: From preprocessing to nonlinear time-course analysis. In Czarnowski, I., Howlett, R., Jain, L. (eds.), Intelligent Decision Technologies 2017, number 73, 268-277. link

PupilPre (beta version)

This package is implemented by Vince Porretta and Aki-Juhani Kyröläinen for preprocessing of pupil size data. The current version is submitted to CRAN. If you would like to try the package, please contact Vince Porretta.