Skip to contents

How many combinations of values a t-wise sample must cover.

Usage

vp_combinations_to_cover(model, t = 2)

Arguments

model

A model, from vp_generate() or vp_read(), in its complete or its minimal form.

t

1 (every feature selected and left out) or 2 (every valid combination of two features).

Value

One row: t, combinations and exact (FALSE for t = 2 without the at-least-one graph: then the count is an upper limit, because some "neither" combinations may be impossible).

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_combinations_to_cover(band, t = 1)
#> # A tibble: 1 × 3
#>       t combinations exact
#>   <int>        <dbl> <lgl>
#> 1     1           22 TRUE 
vp_combinations_to_cover(band, t = 2)
#> # A tibble: 1 × 3
#>       t combinations exact
#>   <int>        <dbl> <lgl>
#> 1     2          163 TRUE