identifyVocalisations {vocaldia} | R Documentation |
identifyVocalisations: replace appropriate vocalisation types
Description
Identify switching vocalisations
Usage
identifyVocalisations(vocvector, idswitchvoc = T)
Arguments
vocvector |
a character vector containing a sequence of vocalisation events |
idswitchvoc |
if TRUE distinguise between SwitchingVocalisation and Vocalisation. |
Details
SwitchingVocalisation is a vocalisation that signals a immediate speaker transition; that is, a transition from speaker to speaker (as opposed to speaker to Grp or speaker to Pause).
E.g (speakers A, B, C):
AAAAAAAABBBBBBBCCCCCBBBBBPauseBBBBSwitchingPauseAAAAAGrp ^ ^ ^ ^ ^ ^ | | | | | | | | | ----------- Non-SwitchingVocalisation | | | ---------------------> SwitchingVocalisation
Value
A vector with all events replaced by the appropriate type identifier.
Examples
data(vocdia)
identifyVocalisations(atddia$speaker[1:60])
[Package vocaldia version 0.8.4 Index]