Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 number of variables in the data.

Value

A square matrix of size n where 0 indicates a variable

Author(s)

Rianne Schouten, 2016

See Also


mice

Multivariate Imputation by Chained Equations

v3.13.0
GPL-2 | GPL-3
Authors
Stef van Buuren [aut, cre], Karin Groothuis-Oudshoorn [aut], Gerko Vink [ctb], Rianne Schouten [ctb], Alexander Robitzsch [ctb], Patrick Rockenschaub [ctb], Lisa Doove [ctb], Shahab Jolani [ctb], Margarita Moreno-Betancur [ctb], Ian White [ctb], Philipp Gaffert [ctb], Florian Meinfelder [ctb], Bernie Gray [ctb], Vincent Arel-Bundock [ctb]
Initial release
2021-01-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.