DramaAnalysis (version 3.0.0)

split.QDDrama: Split multiple plays

Description

The function split(x) expects an object of type QDDrama and can be used to split a QDDrama object that consists of multiple dramas into a list thereof. It is the counterpart to combine(x, y).

Usage

# S3 method for QDDrama
split(x, ...)

Arguments

x

The object of class QDDrama (consisting of multiple dramas). For split() it should consist of multiple plays. For combine() it can but doesn't have to.

...

All other arguments are ignored.

Value

Returns a list of individual QDDrama objects, each containing one text.

Examples

Run this code
# NOT RUN {
data(rksp.0)
data(rjmw.0)
d <- combine(rjmw.0, rksp.0)
dlist <- split(d)
# }

Run the code above in your browser using DataCamp Workspace