Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blockmodels should graciously handle k = 1 #21

Closed
alexpghayes opened this issue Sep 23, 2021 · 0 comments
Closed

Blockmodels should graciously handle k = 1 #21

alexpghayes opened this issue Sep 23, 2021 · 0 comments

Comments

@alexpghayes
Copy link
Collaborator

library(fastRG)
#> Loading required package: Matrix
dcsbm(n = 500, k = 1, expected_density = 0.8)
#> Generating random degree heterogeneity parameters `theta` from a LogNormal(2, 1) distribution. This distribution may change in the future. Explicitly set `theta` for reproducible results.
#> Generating random mixing matrix `B` with independent Uniform(0, 1) entries. This distribution may change in the future. Explicitly set `B` for reproducible results.
#> Error in B[, order(pi)]: incorrect number of dimensions

Created on 2021-09-23 by the reprex package (v2.0.1.9000)

@alexpghayes alexpghayes changed the title Blockmodels should graciously handle rank(B) = 1 Blockmodels should graciously handle k = 1 Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant