missPat.RdThis function allows to compactly present pattern of missing data in a given vector/matrix/data frame or combination of thereof.
missPat(..., symbols = c("X", "-"), collapse = "",
missData = FALSE)one or more vectors/matrices/data frames. They need to be compatible for columnwise binding.
vector containing two single characters
used to indicate NA and remaining values. By defualt it
has values: X and -.
an optional character string. It is used
in the internal call paste() function to separate
the results. Rarely used. By default set to NULL
logical. If TRUE data frame with
pattern of missing values is saved in missData
attribute of the vector returned by this function.
character vector with as many elements as length of
vectors(s)/number of rows in matrices and/or data frames
in ...{} argument(s). Attribute cnames
contains names of vectors/columns/variables. Optional
attribute missData contains data frame with
missing pattern.