quickpsy is an R package developed by Daniel Linares and Joan López-Moliner to quickly fit and plot psychometric functions for multiple conditions. It makes an extensive use of Hadley Wickham’s packages ggplot2 and dplyr.

To understand the fundamentals of fitting psychometric functions in R, we recommend the book Modeling Psychophysical Data in R.

Features

Install

Download and install R (we also recommend Rstudio).

In the console, you need to type

install.packages('quickspy')

Example

library(quickpsy)
library(MPDiR) # contains the Vernier data; use ?Venier for the reference

fit <- quickpsy(Vernier, Phaseshift, NumUpward, N, 
                grouping = .(Direction, WaveForm, TempFreq))
fit %>% plot() # or plot(fit)

fit %>% plotpar # or plotpar(fit)

fit %>% plotthresholds() # or plotthresholds(fit)

Help

To obtain information and examples for specific functions use ?

?quickpsy
?plotthresholds

Other R packages