prelim.mix | R Documentation |
This function performs grouping and sorting operations on a mixed
dataset with missing values. It creates a list that is
needed for input to em.mix
, da.mix
,
imp.mix
, etc.
prelim.mix(x, p)
x |
data matrix containing missing values. The rows of x correspond to
observational units, and the columns to variables. Missing values are
denoted by |
p |
number of categorical variables in x |
a list of twenty-nine (!) components that summarize various features of x after the data have been collapsed, centered, scaled, and sorted by missingness patterns. Components that might be of interest to the user include:
nmis |
a vector of length |
r |
matrix of response indicators showing the missing data patterns in
|
Schafer, J. L. (1996) Analysis of Incomplete Multivariate Data. Chapman & Hall, Chapter 9.
em.mix
, ecm.mix
,
da.mix
, dabipf.mix
, imp.mix
,
getparam.mix
data(stlouis) s <- prelim.mix(stlouis, 3) # do preliminary manipulations s$nmis # look at nmis s$r # look at missing data patterns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.