[Rcicr-users] Non-conformable arrays

Dotsch, R. (Ron) R.Dotsch at uu.nl
Wed Nov 12 11:06:42 CET 2014


Hi Dan,

Possibly, you created your stimuli with a different label for the base face. For instance, let’s say you created your stimuli as follows:

base_face_files <- list(’xxxx’=‘somebaseface.jpg')
generateStimuli2IFC(base_face_files, n_trials = 770)

From now on, the functions of rcicr will know what stimulus data to retrieve from your .RData file by using the ‘xxxx’ label. You should use that label in all subsequent calls to rcicr functions. That means that when you call generateCI2IFC(stimuli, responses, baseimage, rdata), you substitute baseimage with the label you used when generating the stimuli, this way:

ci <- generateCI2IFC(stimuli, responses, ’xxxx', rdata)

The same goes for the baseimage parameter of batchGenerateCI2IFC().

The reason that you have to provide this label is to account for cases where you have studies with various base images that have the same noise patterns superimposed. I realize that this is not completely transparent and will update the documentation in the future. I'll also update functionality in the functions to automatically work without specifying a base image if only one base image was used in a next version of the package.

Let me know if this helps.

Best,

Ron

________________________________
Dr. Ron Dotsch

Utrecht University
Social and Organizational Psychology (Room E2.22)

Website: http://ron.dotsch.org


On Nov 11, 2014, at 18:08, DANIEL NOAH ALBOHN <dna5021 at psu.edu<mailto:dna5021 at psu.edu>> wrote:

Hello,

I am currently new to this package, and am trying to following along with the tutorial using my own stimuli. However, I keep getting the error "non-conformable arrays." Specifically, I keep getting this error.

Error in stimulus + base_faces[[base_face]] : non-conformable arrays

Any help on resolving this issue would be greatly appreciated.

Best,
Dan

Daniel Albohn
Lab Manager/Research
Social Vision and Interpersonal Perception Lab
Moore Building Room 463
The Pennsylvania State University
_______________________________________________
Rcicr-users mailing list
Rcicr-users at lists.r-forge.r-project.org<mailto:Rcicr-users at lists.r-forge.r-project.org>
http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcicr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcicr-users/attachments/20141112/d400aa81/attachment.html>


More information about the Rcicr-users mailing list