assign_smear: Assign a fixed number of smears to the group

Description Usage Arguments Value

View source: R/simulate-conditional-bp.R

Description

Assign a fixed number of smears to the group

Usage

1
assign_smear(n, n_pos)

Arguments

n

number of people in group

n_pos

number of positive smears

Value

vector of size n of exactly n_pos 1s and n - n_pos -1


skgallagher/TBornotTB documentation built on April 21, 2020, 1:19 p.m.