gonogo: Run adaptive sensitivity tests in console or batch mode

Description Usage Arguments Value

View source: R/gonogo.R

Description

Run adaptive sensitivity tests in console or batch mode

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
gonogo(
  mlo = 0,
  mhi = 0,
  sg = 0,
  newz = T,
  reso = 0,
  ln = F,
  test = 1,
  term1 = T,
  BL = NULL,
  Y = NULL,
  X = NULL
)

Arguments

mlo

Guess for μmin, which is the low end of the range where the 50/50 point is expected.

mhi

Guess for μmax, which is the high end of the range where the 50/50 point is expected.

sg

Guess for σg, which is a guess of how quickly the probability of the output being 1 rises with the input variable x. Unless this is known, a value of (mhi-mlo)/6 is recommended.

newz

Set to F to restart using global z, defaults to T.

reso

Resolution of input variable x, will be used for rounding recommended test values. For example, if reso is set to 0.01, then all test values will be rounded to the hundredths place.

ln

Set to T to use log transform which keeps recommended stimulus positive, defaults to F.

test

Number corresponding to test type. * 1 = 3pod * 2 = Neyer * 3 = Bruceton * 4 = Langlie

term1

Set to F to stay in phase I2 until overlap found, defaults to T.

BL

Vector of 3 integers, needed for Bruceton or Langlie tests only.

Y

Vector of responses used for batch mode, all elements must be 0 or 1.

X

Vector of stimulus values used for batch mode.

Value

List containing results.


joncutting/gonogo documentation built on Jan. 23, 2022, 7:01 p.m.