utteranceStatistics

0th

Percentile

Utterance Statistics

This method calculates the length of each utterance, organised by character and drama.

Usage
utteranceStatistics(drama, normalizeByDramaLength = TRUE)
Arguments
drama

The dramatic text(s)

normalizeByDramaLength

Logical value. If true, the resulting values will be normalized by the length of the drama.

Value

Returns an object of class QDUtteranceStatistics, which is essentially a data.frame.

See Also

characterNames

Aliases
  • utteranceStatistics
Examples
# NOT RUN {
data(rksp.0)
ustat <- utteranceStatistics(rksp.0)
# }
# NOT RUN {
boxplot(ustat$utteranceLength ~ ustat$character,
   col=qd.colors[1:5],
   las=2, frame=FALSE)
# }
Documentation reproduced from package DramaAnalysis, version 3.0.0, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.