Reverse correlation image classification using R

Download and Installation

install.packages("devtools") library(devtools) install_github("rdotsch/rcicr", ref = "development")

Generating stimuli

library(rcicr)
generateStimuli2IFC(base_face_files, n_trials = 770)
base_face_files <- list('male'='male.jpg', 'female'='female.jpg')

Data analysis

ci <- generateCI2IFC(stimuli, responses, baseimage, rdata)
ci1 <- generateCI2IFC(…) ci2 <- generateCI2IFC(…) cis <- list(ci1name=ci1, ci2name=ci2) scaled_cis <- autoscale(cis, saveasjpegs = TRUE)
cis <- batchGenerateCI2IFC(dataframe, "columnToSplitDataBy", "columnContainingStimulusNumbers", "columnContainingResponses", baseimage, rdata)

Example

Running reverse correlation experiments online

Citations

citation('rcicr')

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store