hutch_g: Dissonance factor (Hutchinson & Knopoff)

Description Usage Arguments Value References

View source: R/hutch.R

Description

Computes dissonance factors given frequency distances in units of critical bandwidths, after Mashinter's implementation of Hutchinson & Knopoff's model \insertCiteMashinter2006,Hutchinson1978dycon. This function corresponds to an approximation of the look-up table in \insertCitePlomp1965;textualdycon.

Usage

1
hutch_g(y, cbw_cut_off = 1.2, a = 0.25, b = 2)

Arguments

y

(Numeric vector) Frequency distance in units of critical bandwidths.

cbw_cut_off

(Numeric scalar) If not NULL, then should be a number corresponding to the variable CBWcutoff in Mashinter's own implementation. If y >= cbw_cut_off, then the dissonance factor will be approximated as 0. Setting cbw_cut_off to 1.2 is necessary for replicating Mashinter's results. A cut-off of 1.2 was also used by \insertCiteBigand1996;textualdycon.

a

(Numeric scalar, default = 0.25) Parameter from \insertCiteMashinter2006;textualdycon.

b

(Numeric scalar, default = 2) Parameter from \insertCiteMashinter2006;textualdycon.

Value

(Numeric vector) Dissonance factors.

References

\insertAllCited
pmcharrison/dycon documentation built on June 28, 2021, 4:46 p.m.