example-models
example-models copied to clipboard
Error unused argument newpid in 24.2_BehavioralLearningExperiment.R
Hi there,
I have found an error in line 55 of the script 24.2_BehavioralLearningExperiment.R
code
frame = data.frame(x1=0:(n.trials-1),y1=test(y.sim[,,],newpid=newpid))
error
Error in test(y.sim[, , ], newpid = newpid) :
unused argument (newpid = newpid)
I am not really sure what newpid
is supposed to mean, can somebody help me to figure this out?
ps:
I also found a typo in line 28 of the same script:
n.schok.rep
must be replaced with n.shock.rep
Samuel