SimulateOneSubject: Simulates responses of one subject

Description Usage Arguments Examples

Description

Simulate one subject using contrast weights, L/R bias and history weights The simulation is computed ONLY ONCE using certain number of trials specified by trialsPerContrast. You can call this function multiple times to estimates confidence intervals of slope or threshold, for example

Usage

1
2
SimulateOneSubject(subjectWeights, SubjectID = "temp", Condition = -777,
  trialsPerContrast = 100, nBack = nBack, lapseRate = 0)

Arguments

subjectWeights

contrast and history bias weights including L/R bias

SubjectID

subject code, such as 's007'

Condition

a number that specifiec condition of simulation

trialsPerContrast

number of trials that each contrast intensity will be simulated

nBack

history depth. At the moment this is not functional???

Examples

1
SimulateOneSubject(oneSbjWeights, nTrialsPerContrast=50)

armanabraham/chb documentation built on May 10, 2019, 1:39 p.m.