Description Usage Arguments Value See Also Examples
Find missing values.
1 2 | ## S3 method for class 'uts_vector'
is.na(x)
|
x |
a |
An object of the same class as x
, but with observation values replaced with TRUE
or FALSE
, indicating which observation values of x
are NA
.
is.na.uts
, na.omit.uts
for "uts"
objects.
1 2 3 4 5 6 7 | # Set observation to NA
test <- ex_uts_vector()
test$oranges$values[c(2, 4)] <- NA
# Get logical "uts_vector", indicating which observations are NA
is.na(test)
is.na(test)$oranges
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.