score_adaptivethreshold: Calculates a score for adaptive threshold procedures

View source: R/score_adaptivethreshold.R

score_adaptivethresholdR Documentation

Calculates a score for adaptive threshold procedures

Description

Calculates a score for adaptive threshold procedures

Usage

score_adaptivethreshold(
  x,
  taskname = "",
  adaptive_variable = "",
  scoring_method = "Last 4 Reversals"
)

Arguments

x

dataframe

taskname

string to add as a prefix to scored columns

adaptive_variable

the column name that represents the variable that is changing across the adaptive procedure (e.g., stimulus duration).

scoring_method

the scoring method to use. Default: Last 4 Reversals. Options are: Last n Reversals (substitute n for a digit, e.g., Last 4 Reversals. This represents the median of the last n reversals); Last Trial (the value of the adaptive variable on the last trial); All Reversals (median of all reversals); Overall Median (median across all trials)


EngleLab/englelab documentation built on Sept. 9, 2024, 4:12 a.m.