CompleteColumns | R Documentation |
Return either the columnnames or a logical vector indicating which columns are complete, i.e., have no missing values.
CompleteColumns(x, which = TRUE)
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. |
A logical vector specifying which columns have no missing values across the entire sequence.
Andri Signorell <andri@signorell.net>
is.na
, na.omit
, complete.cases
CompleteColumns(d.pizza)
CompleteColumns(d.pizza, which=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.