Description Usage Arguments Examples
Just a simple shorthand to get the first, non-missing argument per default.
Can give more than one element and can include missing elements.
The inverse of last()
.
1 |
x |
vector of which you want the first element |
n |
number of elements to take from the beginning |
na.rm |
whether to remove missings first, defaults to TRUE |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.