merge_nets {dbnR}R Documentation

Merges and replicates the arcs in the static BN into all the time-slices in the DBN

Description

This will join the static net and the state transition net by replicating the arcs in the static net in all the time slices.

Usage

merge_nets(net0, netCP1, size, acc = NULL, slice = 1)

Arguments

net0

the structure of the static net

netCP1

the state transition net

size

the number of time slices of the net. Markovian 1 would be size 2

acc

accumulator of the results in the recursion

slice

current time slice that is being processed

Value

the merged nets


[Package dbnR version 0.7.8 Index]