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.
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("graph")
BiocManager::install(c("Rgraphviz", "gRbase")) # Recommended
You can install the development version of dSep like so:
# install.packages("remotes")
remotes::install_github("jmaspons/dSep")