plot.dce: Plot dce object

plot.dceR Documentation

Plot dce object

Description

This function takes a differential causal effects object and plots the dag with the dces

Usage

## S3 method for class 'dce'
plot(x, ...)

Arguments

x

dce object

...

Parameters passed to dce::plot_network

Value

plot of dag and dces

Author(s)

Martin Pirkl, Kim Philipp Jablonski

Examples

dag <- create_random_DAG(30, 0.2)
X.wt <- simulate_data(dag)
dag.mt <- resample_edge_weights(dag)
X.mt <- simulate_data(dag)
dce.list <- dce(dag,X.wt,X.mt)
plot(dce.list)

kpj/dce documentation built on Oct. 29, 2022, 1:40 a.m.