Learn R Programming

stagedtrees (version 2.3.0)

ceg: Chain event graph (CEG)

Description

Build the CEG representation from an object of class sevt.

Usage

ceg(object)

Value

an object of class ceg.

Arguments

object

an object of class sevt.

Details

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

Examples

Run this code
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