View source: R/plot-attributes.R
edges | R Documentation |
Provides access to the edges
element of a
sem_graph
object. This can be used to return or assign to the
edges
element.
edges(x)
edges(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))
edges(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.