powered by
Evaluate node name in the active graph.
name
val(name)
character scalar, name of the node that is evaluated.
R object, the value of the node.
# NOT RUN { # Initialize a new computational graph. x <- cgraph$new() # Add a parameter a <- parm(20, name = "a") # Evaluate a val(a) # }
Run the code above in your browser using DataLab