rmono: Randomly Impose a Monotone Missingness Pattern
Description
Randomly impose a monotone missingness pattern by replacing the ends
of each column of the input matrix by a random number of NAs
Usage
rmono(x, m = 7, ab = NULL)
Arguments
x
data matrix
m
minimum number of non-NA entries in each column
ab
a two-vector of $\alpha$ (ab[1]) and
$\beta$
([2]) parameters to a beta distribution describing the
proportion of NA entries in each column. The default
settingab = NULL yields a u