R/dhvm.R
dhvm_c_degree.Rd
The c-degree is the maximum of 1 and the numbers of latent variables in each district
dhvm_c_degree(dhvm)
A object of class dhvm
An integer vector
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