Description Usage Arguments Value See Also Examples
Show columns that contain an NA
value
1 | showColsNA(d)
|
d |
A matrix or dataframe. |
Subset of d
containing NA
values. Returns NULL
if no NA
values
are present.
1 2 3 4 5 6 7 8 9 10 11 | m <- matrix(letters[c(1, 2, NA, 3, NA, 4, 5, 6, 7, 8)],
ncol = 2, byrow = FALSE)
colnames(m) <- c("x", "y")
m
findColsNA(m)
showColsNA(m)
d <- data.frame(x = 1:10)
d
findColsNA(d)
showColsNA(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.