## 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.

### Tutorials

- Overview of useful commands in R. For beginning R users. (Under development)
- Using R Markdown. Quick, basic tutorial on how to use R Markdown for generating analysis reports. Overview GAMM.
- Short overview of a GAMM analysis of time series data.
- Generating animations. Examples on how to include animations in R Markdown reports.

### R packages

#### itsadug: I nterpreting T ime S eries and A utocorrelated D ata U accent G AMMs

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. 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:

`install.packages("itsadug")`

citation:

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.

#### VWPre: Tools for Preprocessing Visual World Data

Implemented by Vince Porretta and Aki-Juhani Kyröläinen for preprocessing of gaze data from the Visual World Paradigm.

`install.packages("VWPre")`

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.

#### plotfunctions

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") ).

`install.packages("plotfunctions")`