Learn R Programming

mice (version 3.15.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)

Value

A square matrix of size n where 0 indicates a variable

Arguments

n

A scalar specifying the number of variables in the data.

Author

Rianne Schouten, 2016

See Also

ampute, md.pattern