missPat | R Documentation |
This function compactly presents the pattern of missing data in a given vector, matrix, or data frame.
missPat(..., symbols = c("X", "-"), collapse = "", missData = FALSE)
... |
one or more vectors, matrices, or data frames, compatible for column-wise binding. |
symbols |
vector containing two single characters used to indicate |
collapse |
an optional character string used in the internal call to |
missData |
logical. If |
Character vector with as many elements as the length of vector(s) or number of rows in matrices/data frames in ...
.
Attribute cnames
contains names of vectors/columns/variables.
Optional attribute missData
contains a data frame with the missing pattern.
Andrzej Galecki and Tomasz Burzykowski
armd.wide
## Not run:
data(armd.wide, package = "nlmeU")
dtf <- armd.wide[ , c("visual12", "visual24", "visual52")]
missPat(dtf, symbols = c("?", "+"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.