# \donttest{
# Using different arguments in {GGally}'s `ggnet2`
plot(ega.wmt, node.size = 6, edge.size = 4)
# Using a different layout in {sna}'s `gplot.layout`
plot(ega.wmt, layout = "circle") # 'layout' argument
plot(ega.wmt, mode = "circle") # 'mode' argument
# Using different color palettes with `color_palette_EGA`
## Pre-defined palette
plot(ega.wmt, color.palette = "blue.ridge2")
## University of Virginia colors
plot(ega.wmt, color.palette = c("#232D4B", "#F84C1E"))
## Vanderbilt University colors
## (with additional {GGally} `ggnet2` argument)
plot(
ega.wmt, color.palette = c("#FFFFFF", "#866D4B"),
label.color = "#000000"
)# }
Run the code above in your browser using DataLab