example-models icon indicating copy to clipboard operation
example-models copied to clipboard

Error unused argument newpid in 24.2_BehavioralLearningExperiment.R

Open sam0per opened this issue 6 years ago • 0 comments

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 newpidis 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

sam0per avatar May 02 '18 11:05 sam0per