plot: Plot Method for causalDisco Objects

plotR Documentation

Plot Method for causalDisco Objects

Description

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().

Value

Invisibly returns the input object. The primary effect is the generated plot.

See Also

Other plot: plot.Disco(), plot.Knowledge()

Examples

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)


causalDisco documentation built on Nov. 17, 2026, 5:08 p.m.