nodes {tidySEM} | R Documentation |
Provides access to the nodes
element of a
sem_graph
object. This can be used to return or assign to the
nodes
element.
nodes(x) nodes(x) <- value
x |
Object of class sem_graph. |
value |
A valid value for |
data.frame
edg <- data.frame(from = "x", to = "y") p <- prepare_graph(edges = edg, layout = get_layout("x", "y", rows = 1)) nodes(p)