factorize: Factorize a set of nodes into heads and tails

View source: R/intrinsic.R

partitionR Documentation

Factorize a set of nodes into heads and tails

Description

Factorize a set of nodes into heads and tails

Usage

partition(graph, v = graph$v, r = TRUE, ht, head_order)

factorize(graph, v = graph$v, r = TRUE, ht, head_order)

Arguments

graph

a CADMG

v

integer vector of vertices to partition

r

logical indicating whether nested parameterization is being used (used only if ht not provided)

ht

the output of applying headsTails() to graph

head_order

optional vector that represents partial order of heads

Functions

  • partition(): Return the partition function for a particular set of vertices


rje42/ADMGs2 documentation built on Sept. 3, 2024, 7:39 p.m.