md_cand_sampler: md_cand_sampler

View source: R/md_candidate_set_models.R

md_cand_samplerR Documentation

md_cand_sampler

Description

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.

Usage

md_cand_sampler(md, qvar = "q", setvar = "x")

Arguments

md

masked data.

qvar

column prefix for component probabilities, defaults to q, e.g., ⁠q1, q2, ..., qm⁠.

setvar

column prefix for candidate sets (as Boolean matrix), defaults to x, e.g., ⁠x1, x2, ..., xm⁠.


queelius/masked.data documentation built on Jan. 28, 2025, 4:23 a.m.