sing.im: Single imputation method

Description Usage Arguments References Examples

Description

Imputes the missing value based on the observed data proportions.

Usage

1

Arguments

data

An input data frame

...

Other arguments for future methods

References

Peter A. Lachenbruch (2011) Variable selection when missing values are present: a case study. Statistical Methods in Medical Research 20:429-444

Examples

1
2
3
4
5
6
7
set.seed(123)
data <- matrix(sample(x=c(0,1,2,3),size=48,replace=TRUE),,4)
data[c(5,6,12),2] <- NA
data[c(4,12),3] <- NA
data[c(5,6),4] <- NA
sing.im(data)
sing.im(data,index=TRUE)

linkim documentation built on May 2, 2019, 1:44 p.m.