Convert dsem to phylopath output
Usage
as_fitted_DAG(
fit,
lag = 0,
what = c("Estimate", "Std_Error", "p_value"),
direction = 1
)
Arguments
- fit
Output from
dsem
- lag
which lag to output
- what
whether to output estimates
what="Estimate"
, standard errorswhat="Std_Error"
or p-valueswhat="Std_Error"
- direction
whether to include one-sided arrows
direction=1
, or both one- and two-sided arrowsdirection=c(1,2)
Value
Convert output to format supplied by est_DAG