nice_DAG_plot function

nice_DAG_plot

nice_DAG_plot

DAG visualization

nice_DAG_plot( my_DAG, print_direct = TRUE, node_size = NULL, CPDAG = TRUE, node_colours = "#fdae61", directed = TRUE )

Arguments

  • my_DAG: DAG
  • print_direct: print DAG if TRUE
  • node_size: node size vector
  • CPDAG: if TRUE, then plot CPDAG instead of DAG
  • node_colours: node colours
  • directed: TRUE if nodes should be directed

Returns

A plot of the DAG of class c("gg", "ggplot").

  • Maintainer: Fritz Bayer
  • License: GPL-3
  • Last published: 2024-02-14

Useful links