| plot | R Documentation |
This is the generic plot() function for objects of class Knowledge
or Disco. It dispatches to the class-specific plotting methods
plot.Knowledge() and plot.Disco().
x |
An object to plot (class |
... |
Additional arguments passed to class-specific plot methods and to |
Invisibly returns the input object. The primary effect is the generated plot.
plot.Knowledge(), plot.Disco(), caugi::plot()
data(tpc_example)
kn <- knowledge(
tpc_example,
tier(
child ~ starts_with("child"),
youth ~ starts_with("youth"),
old ~ starts_with("old")
)
)
plot(kn)
cd_tges <- tges(engine = "causalDisco", score = "tbic")
disco_cd_tges <- disco(data = tpc_example, method = cd_tges, knowledge = kn)
plot(disco_cd_tges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.