combinations: combinations

Description Usage Arguments Value Examples

View source: R/zzz.R

Description

Given all the possible patterns of missingness.

Usage

1

Arguments

p

Dimension of covariates.

Value

A matrix containing all the possible missing patterns. Each row indicates a pattern of missingness. "1" means "observed", 0 means "missing".

Examples

1
comb = combinations(5)

misaem documentation built on April 12, 2021, 9:06 a.m.