getTurnTakingMatrix: getSampledVocalCountMatrix: generate vocalisation diagrams

Description Usage Arguments Details Value References See Also Examples

View source: R/vocalgraphs.R

Description

Generate a vocalisation diagram with absolute vocalisation durations.

Usage

1
2
3
4
5
6
7
8
getTurnTakingMatrix(
  df,
  begin = "begin",
  end = "end",
  nodecolumn = "role",
  individual = FALSE,
  noPauseTypes = FALSE
)

Arguments

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).

begin

the name of the column containing the start time of the vocalisation event in a row.

end

the name of the column containing the end time of the vocalisation event in the same row.

nodecolumn

the name of the column containing the node (speaker) name (e.g. 'speaker', 'role').

individual

whether to include individual speakers or group them into a single Vocalisation node

noPauseTypes

if TRUE, ignore distinctions between pauses (SwitchingPause, GrpSwitchingPause, etc)

Details

A vocalisation diagram (vocaldia) is a representation of a dialogue as a Markov process whose cell <m,n> contains the transition probability from node n to node m). Unlike getSampledVocalCountMatrix this function accummulates event durations directly, therefore resulting in no self-transitions (in general).

Value

a vocaldia object, consisting of a vocalisation matrix (vocmatrix) where cell <m,n> contains the counts of transitions from node n to node m, and a table of absolute durations of vocalisation events.

References

S. Luz. Automatic identification of experts and performance prediction in the multimodal math data corpus through analysis of speech interaction. In Proceedings of the 15th ACM on International Conference on Multimodal Interaction, ICMI'13, pages 575–582, New York, NY, USA, 2013. ACM.

See Also

(Luz, 2013) and getTurnTakingMatrix.

Examples

1
2
3
x <- subset(atddia, id=='Abbott_Maddock_01')
getTurnTakingMatrix(x)
getTurnTakingMatrix(x, individual=TRUE)

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