ampute.default.type: Default 'type' in 'ampute()'

View source: R/ampute.default.R

ampute.default.typeR Documentation

Default type in ampute()

Description

Defines the default type vector for the multivariate amputation function ampute.

Usage

ampute.default.type(patterns)

Arguments

patterns

A matrix of size #patterns by #variables where 0 indicates a variable should have missing values and 1 indicates a variable should remain complete. Could be the result of ampute.default.patterns.

Value

A string vector of length #patterns containing the missingness types. Each pattern will be amputed with a "RIGHT" missingness.

Author(s)

Rianne Schouten, 2016

See Also

ampute, ampute.default.patterns


mice documentation built on June 7, 2023, 5:38 p.m.