as_fitted_DAG: Convert output from package dsem to phylopath

View source: R/dsem.R

as_fitted_DAGR Documentation

Convert output from package dsem to phylopath

Description

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 errors what="Std_Error" or p-values what="Std_Error"

direction

whether to include one-sided arrows direction=1, or both one- and two-sided arrows direction=c(1,2)

Value

Convert output to format supplied by est_DAG


dsem documentation built on Sept. 12, 2024, 9:35 a.m.