mice (version 3.9.0)

ampute.default.patterns: Default patterns in ampute

Description

This function creates a default pattern matrix for the multivariate amputation function ampute().

Usage

ampute.default.patterns(n)

Arguments

n

A scalar specifying the #variables in the data.

Value

A square matrix of size #variables where 0 indicates a variable

See Also

ampute, md.pattern