Generic implementation of path analysis using d-separation. It allows to use lm, glm, gls, pgls, phylolm, phyloglm, MCMCglmm and brm models to test the conditional independence statements.
Pre-requisites
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("graph")
BiocManager::install(c("Rgraphviz", "gRbase")) # Recommended