Modeling psychophysical data in R - Kenneth Knoblauch