CompleteColumns {DescTools} | R Documentation |
Find Complete Columns
Description
Return either the columnnames or a logical vector indicating which columns are complete, i.e., have no missing values.
Usage
CompleteColumns(x, which = TRUE)
Arguments
x |
a data.frame containing the data |
which |
logical, determining if the names of the variables should be returned or a if a logical vector indicating which columns are complete should be returned. |
Value
A logical vector specifying which columns have no missing values across the entire sequence.
Author(s)
Andri Signorell <andri@signorell.net>
See Also
is.na
, na.omit
, complete.cases
Examples
CompleteColumns(d.pizza)
CompleteColumns(d.pizza, which=FALSE)
[Package DescTools version 0.99.55 Index]