library(isnar)
context("Proper group sizes are computed")
test_that("Group sizes for White network are correct", {
mm <- mixingm( Wnet, "gender", full=TRUE )
gs <- group_sizes(mm, directed=FALSE, loops=FALSE )
expect_equivalent( gs, c(5, 5))
} )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.