Define a Node (set of variables) in an NPSEM
define_node(name, variables, parents = c(), variable_type = NULL)
name | A character, the name of node |
---|---|
variables | A character vector of the variables that comprise the node |
parents | A character vector of the names of the parent nodes. If missing, node is assumed to have no parents. |
variable_type | A |