Partition Data by Outcome Missingness Pattern.
PartitionData(t, s, X, Z = NULL)
t
s
X
Z
List containing these components:
Orig
Dims
Complete
TMiss
SMiss
IPs
# Generate data. n <- 1e3 X <- rnorm(n) Z <- rnorm(n) data <- rBNR(X = X, Z = Z, b = 1, a = -1) data_part <- PartitionData( t = data[, 1], s = data[, 2], X = X, Z = Z )
Useful links