A set of functions for statistical tests on two-alternative forced-choice (2AFC) data. Fits a logistic regression model to the data, accounting for individual effects using functions from lme4. For more information about mixed-effects modelling see Prof. Ben Bolker's GLMM FAQ.