Compositional model is represented by its generating sequence in a computer memory. The length of the generating sequence - i.e. the number of probability distributions in the generating sequence is the length of the compositional model

# S3 method for Model
length(model)

Arguments

model

Compositional model

Value

length of its generating sequence

Methods (by class)

  • Model: Length of compositional model generating sequence

Examples

data(m) length(m)
#> [1] 7