Skip to contents

Print Method for net_mogen

Usage

# S3 method for class 'net_mogen'
print(x, ...)

Arguments

x

A net_mogen object.

...

Additional arguments (ignored).

Value

The input object, invisibly.

Examples

# \donttest{
seqs <- data.frame(
  V1 = c("A","B","C","A","B"),
  V2 = c("B","C","A","B","C"),
  V3 = c("C","A","B","C","A")
)
mog <- build_mogen(seqs, max_order = 2L)
print(mog)
#> Multi-Order Generative Model (MOGen)
#>   Optimal order:  1 (by aic)
#>   Orders tested:  0 to 2
#>   States:         3
#>   Paths:          5 (15 observations)
#>   AIC:           37.0 | 15.0 | 15.0
# }