Description Usage Arguments Value Examples
Check whether NA
's exist only at the end of a vector, that is,
whether there are no values after the first NA
in the vector.
1 |
x |
Vector. |
TRUE
if there are only NA
's at the end of the vector or no NA
at all; FALSE
otherwise.
1 2 | ShadowCAT:::na_only_end_vector(c(1:3, NA, NA))
ShadowCAT:::na_only_end_vector(c(1:3, NA, NA, 6))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.