plot_graphres: Plot the analyzed graph object

View source: R/graph-utilities.R

plot_graphresR Documentation

Plot the analyzed graph object

Description

Special plotting method for igraphs of this type

Usage

plot_graphres(graphres)

Arguments

graphres

an igraph object

Value

None

See Also

plot.linearcausalproblem which plots a graph with attributes

Examples

b <- graph_from_literal(X -+ Y, Ur -+ X, Ur -+ Y)
V(b)$leftside <- c(0,0,0)
V(b)$latent <- c(0,0,1)
V(b)$nvals <- c(2,2,2)
V(b)$exposure <- c(1,0,0)
V(b)$outcome <- c(0,1,0)
E(b)$rlconnect <- c(0,0,0)
E(b)$edge.monotone <- c(0,0,0)
plot(b)

causaloptim documentation built on Oct. 17, 2024, 9:08 a.m.