Skip to contents

The c-degree is the maximum of 1 and the numbers of latent variables in each district

Usage

dhvm_c_degree(dhvm)

Arguments

dhvm

A object of class dhvm

Value

An integer vector

Examples

dhvm_c_degree(dhvm(caugi(U1 %-->% X + Y, U2 %-->% Z + X)))
#> {X, Y, Z, U1[u], U2[u]} 
#>                       2 
dhvm_c_degree(dhvm(caugi(Z %-->% X %-->% Y, U1 %-->% X + Y)))
#>           {Z} {X, Y, U1[u]} 
#>             1             1