Skip to contents

Counts how many blocks contain each point and each pair. This checks that a claimed design IS one, as opposed to having parameters that would permit one.

Usage

morie_incidence_check(blocks, v)

Arguments

blocks

A list of integer vectors, points numbered from 1.

v

Number of points.

Value

A list with is_bibd, k, r, lambda, uncovered_pairs.

Examples

morie_incidence_check(blocks = 5L, v = 5L)
#> $is_bibd
#> [1] FALSE
#> 
#> $b
#> [1] 1
#> 
#> $v
#> [1] 5
#> 
#> $k
#> [1] 1
#> 
#> $r
#> [1] NA
#> 
#> $lambda
#> [1] 0
#> 
#> $block_sizes
#> [1] 1
#> 
#> $point_replications
#> [1] 0 0 0 0 1
#> 
#> $uncovered_pairs
#> [1] 10
#> 
#> $n
#> [1] 5
#> 
#> $warnings
#> [1] "10 pairs appear in no block, so this is not a design covering every pair."
#> 
#> $method
#> [1] "Direct verification of a block design"
#>