reduce_combos: Find subset of available combinations that are consistent...

Description Usage Arguments Value Examples

View source: R/reduce_combos.R

Description

Find subset of available combinations that are consistent with a given guess and response

Usage

1
reduce_combos(combos, guess, resp)

Arguments

combos

tibble with all available combinations

guess

numeric vector with a particular guess

resp

named numeric vector of length 2 with response from that guess

Value

tibble, subset of the original

Examples

1
reduce_combos(combos = matrix(c(1,1,2,2,1,2,1,2), 4), guess = c(1, 1), resp = c(1, 0))

lassehjorthmadsen/masteRmind documentation built on Dec. 21, 2021, 9:40 a.m.