est_DAG | R Documentation |
Add standardized path coefficients to a DAG.
est_DAG(DAG, data, tree, model, method, boot = 0, ...)
DAG |
A directed acyclic graph, typically created with |
data |
A |
tree |
A phylogenetic tree of class |
model |
The evolutionary model used for the regressions on continuous variables. See phylolm::phylolm for options and details. Defaults to Pagel's lambda model |
method |
The estimation method for the binary models. See phylolm::phyloglm for options and details. Defaults to logistic MPLE. |
boot |
The number of bootstrap replicates used to estimate confidence intervals. |
... |
Arguments passed on to
Arguments passed on to
|
An object of class fitted_DAG
.
d <- DAG(LS ~ BM, NL ~ BM, DD ~ NL + LS)
plot(d)
d_fitted <- est_DAG(d, rhino, rhino_tree, 'lambda')
plot(d_fitted)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.