This R package aims to give a most down-to-earth way possible to get clear, comprehensive, reportable stats out of data from simple (psychological) experiments.

One main point is that all functions use data frames with single row per subjects. Not because “it’s like that in SPSS”, but because that’s the clear and logical way, and because all the reshaping/melting/casting/dcasting is a tiresome fuss even for those not new to it, let alone novices, and leads to a lot of totally unnecessary confusion and problems.

Installation in R

To install the stable version from CRAN, just run:


Then load with: library("neatStats")

Alternatively, if you want to install the latest (and potentially unstable) version from this repository:

install.packages("devtools") # if "devtools" package is not yet installed


See the for an example pipeline for every step from raw data to reportable statistics.

For details about each function, see the manual (or enter help(xy) or ?xy in R for any specific function).

General introduction to R:

Data visualization:

Significance tests: