statnet / ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks
Other
96 stars 37 forks source link

edgecov() and dyadcov() should check that the covariate matrix is of the correct dimension. #568

Closed krivit closed 3 months ago

krivit commented 3 months ago

The underlying C code expects an n*n matrix for unipartite networks and a b*(n-b) matrix for bipartite. The R code should check that that's what it's getting.