Define a template for logical vectors with custom distribution of TRUE, FALSE and NA

template_logical(true_false_na_ratio = c(1, 1, 0))

Arguments

true_false_na_ratio

relative ratio of values TRUE, FALSE and NA

Value

logical vector