not_all_na | R Documentation |
Check if any rows for a column are not NA
.
not_all_na(x)
x |
vector or column |
Determine whether any rows for a column (or vector) are not missing
(NA
).
TRUE
or FALSE
Other dataEvaluations:
dropColsWithAllNA()
,
dropRowsWithAllNA()
,
is.nan.data.frame()
,
not_any_na()
# Prepare Data
data("USArrests")
# Check if any rows are not NA
not_all_na(USArrests$Murder)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.