Learn R Programming

stagedtrees (version 2.1.0)

ceg: Chain event graph (CEG)

Description

Build the CEG representation from an object of class sevt.

Usage

ceg(object)

Arguments

object

an object of class sevt.

Value

an object of class ceg.

Details

An object of class ceg is a staged event tree object with additional information on the positions.

Examples

Run this code
# NOT RUN {
DD <- generate_xor_dataset(3, 100)
model <- stages_bhc(full(DD))
model.ceg <- ceg(model)
model.ceg$positions
# }

Run the code above in your browser using DataLab