get_dag_size: Get the size of a DAG

View source: R/NAME_get_dag_size.R

get_dag_sizeR Documentation

Get the size of a DAG

Description

Returns the number of variables in a directed acyclic graph (DAG)

Usage

get_dag_size(dag)

Arguments

dag,

a DAG object from 'dagitty'

Value

dag size (integer)

Examples


get_dag_size(my_dag)


sebastiansauer/prada documentation built on Jan. 17, 2024, 11:05 a.m.