getTurnType | R Documentation |
Identify turn types
getTurnType( df, i, individual = FALSE, nodecolumn = "speaker", noPauseTypes = F )
df |
a data frame consisting, minimally, of a column for vocalisation/pause start times, a column for end times, and a column identifying the speaker, speaker role or 'Floor' (for silences). |
i |
the identifier (index number) whose type will be returned |
individual |
if TRUE, return the identifier, a Pause or Grp |
nodecolumn |
the name of the column containing the node (speaker) name (e.g. 'speaker', 'role'). |
noPauseTypes |
if TRUE, ignore distinctions between pauses (SwitchingPause, GrpSwitchingPause, etc) |
Return one of Vocalisation, GrpVocalisation, ... or identifier.
a string containing the turn type or identifier.
data(vocdia) atddia[1:10,] getTurnType(atddia, 3, nodecolumn='role') ## a vocalisation getTurnType(atddia, 4, nodecolumn='role') ## a pause
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.