mysort {mvnmle} | R Documentation |
Sort a multivariate data matrix according to patterns of missingness.
Description
mysort
sorts a multivariate data matrix so that records with
identical patterns of missingness are adjacent to one another.
mysort
is a private function used inside of mlest
.
Usage
mysort(x)
Arguments
x |
A multivariate data matrix. Rows correspond to individual records and columns correspond to components of the multivariate vector. |
Value
sorted.data |
A matrix of the same size as |
freq |
An integer vector giving the number of records in each
block of rows with a unique pattern of missingness. The first
element in |
See Also
[Package mvnmle version 0.1-11.2 Index]