View source: R/clanToolsFunctions.R
first.element | R Documentation |
This functions also handles NULL vectors and NA-values.
xx <- c(NA,1:100,NA)
first.element(xx)
x |
is the vector |
na.ignore |
controls if NA-values should be ignored |
N |
(default = 1) is the number of elements that should be returned |
The first element
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.