Modeling Psychophysical Data in R