loadDrama

0th

Percentile

Load drama

This function loads one or more of the installed plays and returns them as a QDDrama object.

Usage
loadDrama(ids, defaultCollection = "qd")
Arguments
ids

A vector of ids.

defaultCollection

If the ids do not have a collection prefix, the defaultCollection prefix is applied.

Value

The function returns a QDDrama object. This is essentially a list of data.tables, covering the different aspects (utterances, segments, characters, ...). If multiple ids have been supplied as arguments, the tables contain the information of multiple plays.

Aliases
  • loadDrama
Examples
# NOT RUN {
# both are equivalent
# }
# NOT RUN {
d <- loadDrama(c("test:rksp.0", "test:rjmw.0"))
d <- loadDrama(c("rksp.0", "rjmw.0"), defaultCollection = "test")
# }
Documentation reproduced from package DramaAnalysis, version 3.0.0, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.