CausalQueries
Examples of canonical models, together with a guide to the CausalQueries package is provided at:
https://macartan.github.io/causalmodels/