bn_translate_exp: Experimental function that translates a natPosition vector...

View source: R/utils.R

bn_translate_expR Documentation

Experimental function that translates a natPosition vector into a DBN network.

Description

Experimental function that translates a natPosition vector into a DBN network.

Usage

bn_translate_exp(ps, ordering_raw, n_arcs, nodes)

Arguments

ps

a position vector of natural numbers

ordering_raw

the ordering of the variables

n_arcs

the total number of arcs

nodes

the name of all the nodes in the network

Value

a bn object


dbnR documentation built on Oct. 5, 2022, 1:07 a.m.