# NOT RUN {
dst.firm <- node_set(
"output", NA,
"prod1",
"prod2"
)
plot(dst.firm)
dst.VA <- node_set(
"VA", NA,
"lab",
"cap"
)
node_replace(dst.firm, "prod2", dst.VA, "prod3")
plot(dst.firm)
node_replace(dst.firm, "lab", "labor")
plot(dst.firm)
node_replace(dst.firm, "VA", "prod2")
plot(dst.firm)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab