search for: fd_stimuli

Displaying 1 result from an estimated 1 matches for "fd_stimuli".

2012 Jun 05
1
Fourier descriptors created in a loop
...., s1_1.png, s1_2.png etc..) in my directory. I created a nested loop with a counter for the different amplitudes for the actual shapes and a counter for the file names. This script: *count <- seq(1, 7, 0.06) for (i in 1:count){ for (s in 1:length(count)){ png("~/Desktop/EMAS/FD_stimuli/s1_",s,".png") plot(create.fourier.descriptor(amplitude = c(0, i, 0, 0))); dev.off() } }* .... gives me the following error: /Error in switch(units, `in` = res, cm = res/2.54, mm = res/25.4, px = 1) * : non-numeric argument to binary operator In addition: Warning m...