Learn R Programming

dbnR (version 0.7.1)

nodes_gen_exp: 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