getPauseType: getPauseType: name pause type between two vocalisation...

Description Usage Arguments Details Value See Also Examples

View source: R/vocalgraphs.R

Description

Identify the type of pause between vocalisations.

Usage

1
getPauseType(prevspeaker, nextspeaker)

Arguments

prevspeaker

speaker of the vocalisation immediately before Floor

nextspeaker

speaker of the vocalisation immediately after Floor

Details

The type of pause a 'Floor' (silence) event represents can be: 'Pause', 'SwitchingPause', 'GrpPause', or 'GrpSwitchingPause'. See (Luz, 2013) for details.

Value

the pause type.

See Also

namePauses

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
getPauseType('a', 'b')
 ## [1]  "SwitchingPause"
getPauseType('a', 'Grp')
 ## [1]  "SwitchingPause"
getPauseType('Grp', 'Grp')
 ## [1]  "GrpPause"
getPauseType('Grp', 'a')
 ## [1]  "GrpSwitchingPause"
getPauseType('a', 'a')
 ##[1] "Pause"

vocaldia documentation built on July 2, 2020, 2 a.m.