Skip to contents

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

Usage

ampute.default.patterns(n)

Arguments

n

A scalar specifying the number of variables in the data.

Value

A square matrix of size n where 0 indicates a variable

See also

Author

Rianne Schouten, 2016