ampute.default.patterns {mice} | R Documentation |
patterns
in ampute
This function creates a default pattern matrix for the multivariate
amputation function ampute()
.
ampute.default.patterns(n)
n |
A scalar specifying the number of variables in the data. |
A square matrix of size n
where 0
indicates a variable
Rianne Schouten, 2016