nodes_gen_exp: Generates the names of the nodes in t_0 and in all the...

View source: R/utils.R

nodes_gen_expR Documentation

Generates the names of the nodes in t_0 and in all the network

Description

Given the names of the desired variables, this function generates the names of the variables in a DBN without needing a previous dataset. It's just a wrapper around the 'fold_dt' function.

Usage

nodes_gen_exp(ordering, size)

Arguments

ordering

the names of the variables

size

the desired size of the dbn

Value

a dictionary with the variable names in t_0 and in all other time slices


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