getPauseType {vocaldia} | R Documentation |
getPauseType: name pause type between two vocalisation events.
Description
Identify the type of pause between vocalisations.
Usage
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
Examples
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"
[Package vocaldia version 0.8.4 Index]