Description Usage Arguments Value Examples
Identify the last elements of series of repeated values.
1 | last(x)
|
x |
A vector whose values will be explored for series of repeated values, can be character, numeric, or factor. |
An integer vector the same length as x
, with a 1 for every element
that is different than the one after it, and a 0 for every element
that is the same as the one after it.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.