powered by
Add an input node to the graph.
numeric vector or array, value of the node (optional).
character scalar, name of the node (optional). In case argument name is missing, the node is tried to be added to the graph under an auto-generated name.
name
cg_node, input.
$input(value = NULL, name = NULL)
# NOT RUN { # Initialize a new computational graph. x <- cgraph$new() # Add an input with name 'x' to the graph. x$input(name = "x") # }
Run the code above in your browser using DataLab