namePauses | R Documentation |
Replace identified pause pause types in data frame.
namePauses(df, nodecolumn = "role")
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). |
nodecolumn |
the name of the column containing the node (speaker) name (e.g. 'speaker', 'role'). |
replace all 'Floor' speakers in df by 'Pause', 'SwitchingPause' etc, and return a new data fame containing pause types in place of 'Floor' (see markov.R, identifyPauses() for a better implementation)
a data.frame with pauses in nodecolumn replaced by different pause types.
identifyPauses
for a better implementation
data(vocdia) x <- subset(atddia, id=='Abbott_Maddock_01') x[1:15,1:6] namePauses(x)[1:15,1:6]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.