Learn R Programming

stagedtrees (version 2.3.0)

print.sevt: Print a staged event tree

Description

Print a staged event tree

Usage

# S3 method for sevt
print(x, ..., max = 5)

Value

An invisible copy of x.

Arguments

x

an object of class sevt.

...

additional parameters (compatibility).

max

integer, limit on the numebr of variables to print.

Details

The order of the variables in the staged tree is printed (from root). In addition the number of levels of each variable is shown in square brackets. If available the log-likelihood of the model is printed.

Examples

Run this code
DD <- generate_xor_dataset(5, 100)
model <- full(DD, lambda = 1)
print(model)

Run the code above in your browser using DataLab