md_cand_sampler.Rd
Candidate set generator. Requires columns for component probabilities
e.g., q1,...,qm
where qj
is the probability that the jth component
will be in the corresponding candidate set generated for that observation
in the md
table.
md_cand_sampler(df, prob = "q", candset = "x")
(masked) data frame
column prefix for component probabilities, defaults to
q
, e.g., q1, q2, q3
.
column prefix for candidate sets (as Boolean matrix),
defaults to x
, e.g., x1, x2, x3
.