Learn R Programming

dbnR (version 0.7.1)

natcl_to_arc_matrix_cpp: Create a matrix with the arcs defined in a causlist object

Description

Create a matrix with the arcs defined in a causlist object

Usage

natcl_to_arc_matrix_cpp(cl, ordering, rows)

Arguments

cl

a causal list

ordering

a list with the order of the variables in t_0

rows

number of arcs in the network

Value

a StringMatrix with the parent nodes and the children nodes