The function numberOfPlays() determines how many different plays are contained in a single QDDrama object.

numberOfPlays(x)

Arguments

x

The QDDrama object

Value

An integer. The number of plays contained in the QDDrama object.

Examples

# returns 1 numberOfPlays(rksp.0)
#> [1] 1
# returns 2 numberOfPlays(combine(rksp.0, rjmw.0))
#> [1] 2