inhib.delta: inhibibition indices

Description Usage Arguments Examples

View source: R/delta.r

Description

This function compute inhibition indices

Usage

1
inhib.delta(rt, comp, sujet = NA, cond = NA, dquantile = 10, type = 7)

Arguments

dquantile

number of quantiles used to compute the slope of last segment

data

dataframe with rt, comp, sujet, cond

Examples

1
2
3
4
5
6
7
8
9
inhib.delta(rt, comp, sujet,  cond, dquantile = 10, type = 7) 
rt: response time
comp: compatible vs incompatible ('c' vs 'i')
sujet: subjects id (transformed into factor if needed)
cond: experimental conditions (transformed into factor if needed)
dquantile: number of quantiles to compute last segment slope and linear approximation
type: type of quantile function
Output: last segment delta slope, delta slopes, linear approximation (trend = coefficient, intercept), inhibition index
q, delta.slope, index

thibault-gajdos/RTconflict documentation built on March 2, 2020, 6:12 p.m.