ampute.default.freq: Default 'freq' in 'ampute'

View source: R/ampute.default.R

ampute.default.freqR Documentation

Default freq in ampute

Description

Defines the default relative frequency vector for the multivariate amputation function ampute.

Usage

ampute.default.freq(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 vector of length #patterns containing the relative frequencies with which the patterns should occur. An equal probability is given to each pattern.

Author(s)

Rianne Schouten, 2016

See Also

ampute, ampute.default.patterns


amices/mice documentation built on Dec. 22, 2024, 7:37 p.m.