combinations | R Documentation |
Given all the possible patterns of missingness.
combinations(p)
p |
Dimension of covariates. |
A matrix containing all the possible missing patterns. Each row indicates a pattern of missingness. "1" means "observed", 0 means "missing".
comb = combinations(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.