plot_dag: Plot the DAG

plot_dagR Documentation

Plot the DAG

Description

Plot the DAG

Usage

plot_dag(dag, fit = NULL, aes_fit = list(), show_legend = FALSE)

Arguments

dag

a string with the DAG

fit

output of the function estimate. If provided it plots the total effect and the coefficiets of the SCM alongside the edges of the DAG

aes_fit

a named list with the aesthetic parameters for the identification expression. See Details.

show_legend

boolean. If TRUE, show legend with meaning of the nodes aesthetics.

Value

It returns a ggplot object with the DAG


DiogoFerrari/idar documentation built on May 27, 2022, 10:07 p.m.