ceg: Chain event graph (CEG)

View source: R/7-ceg-functions.R

cegR Documentation

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.

Details

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

Value

an object of class ceg.

Examples

DD <- generate_xor_dataset(3, 100)
model <- stages_bhc(full(DD))
model.ceg <- ceg(model)
model.ceg$positions

stagedtrees documentation built on April 29, 2022, 1:06 a.m.