Learn R Programming

stagedtrees (version 2.1.0)

print.sevt: Print a staged event tree

Description

Print a staged event tree

Usage

# S3 method for sevt
print(x, ...)

Arguments

x

an object of class sevt.

...

additional parameters (compatibility).

Value

An invisible copy of x.

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
# NOT RUN {
DD <- generate_xor_dataset(5, 100)
model <- full(DD, lambda  = 1)
print(model)
# }

Run the code above in your browser using DataLab