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