Description Usage Arguments Examples
Returns the length of a vector (character, numeric or other) taking out the
NA
values from it.
1 | nonalength(given_vector)
|
given_vector |
a character, numeric or factor vector |
1 2 3 4 5 6 | v <- c(1, 3, 4)
length(v) == nonalength(v)
v_na <- c(1, 3, 4)
length(v)
nonalength(v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.