powered by
Checks for required attributes and adds defaults if missing
initialize_graph(graph)
An igraph with the vertex attributes leftside, latent, and nvals, and edge attributes rlconnect and edge.monotone
An object of class igraph
b <- igraph::graph_from_literal(X -+ Y) b2 <- initialize_graph(b) V(b2)$nvals
Run the code above in your browser using DataLab