data(tpc_example)
kn <- knowledge(
tpc_example,
tier(
child ~ starts_with("child"),
youth ~ starts_with("youth"),
old ~ starts_with("old")
),
child_x1 %-->% youth_x3
)
cg <- knowledge_to_caugi(kn)
Run the code above in your browser using DataLab